Commit 42f3f550 authored by b.neuburger's avatar b.neuburger
Browse files

deploy cronjob for auto resign on servers

parent 066b85b9
# 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
......@@ -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"
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment