Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHEF
cookbooks
cernvm-fs
Commits
42f3f550
Commit
42f3f550
authored
Oct 01, 2014
by
b.neuburger
Browse files
deploy cronjob for auto resign on servers
parent
066b85b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
files/default/etc_cron.d_cvmfs-resign
0 → 100644
View file @
42f3f550
# Resign cvmfs catalogs on 1st and 15th of each month
00 00 1,15 * * root /usr/bin/cvmfs_server resign
\ No newline at end of file
metadata.rb
View file @
42f3f550
...
...
@@ -3,7 +3,7 @@ maintainer_email "hpc@gsi.de"
license
"Apache 2.0"
description
"Deploya and configure CernVM-FS clients and servers."
long_description
IO
.
read
(
File
.
join
(
File
.
dirname
(
__FILE__
),
'README.md'
))
version
"0.0.
2
"
version
"0.0.
3
"
depends
"sys"
depends
"apache2"
supports
"debian"
,
">= 7.0"
recipes/server.rb
View file @
42f3f550
...
...
@@ -31,3 +31,10 @@ node.cvmfs.server.repos.each do |repo|
not_if
do
::
File
.
directory?
"/etc/cvmfs/repositories.d/
#{
repo
}
"
end
end
end
# Setup a cron job to resign the repos every 20 days to avoid expired
# catalog signatures
cookbook_file
'/etc/cron.d/cvmfs-resign'
do
source
'etc_cron.d_cvmfs-resign'
mode
0644
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment