X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbuildd%2Fmanifests%2Finit.pp;h=05e0282244a89a12e894349645b08d6e8f62a8c5;hb=dd481ef19e3bfe5438e38d74f77d07ebc3ecdd89;hp=87792796744246f4083f0b4c38da0c7da16da7fd;hpb=439001c3e25f11b095d11639402f401df337ac14;p=mirror%2Fdsa-puppet.git diff --git a/modules/buildd/manifests/init.pp b/modules/buildd/manifests/init.pp index 877927967..05e028224 100644 --- a/modules/buildd/manifests/init.pp +++ b/modules/buildd/manifests/init.pp @@ -98,4 +98,11 @@ class buildd ($ensure=present) { file { '/etc/cron.d/puppet-buildd-aptitude': content => "*/5 * * * * root /usr/local/sbin/buildd-schroot-aptitude-kill\n", } + + + if $has_srv_buildd { + file { '/etc/cron.d/puppet-update-buildd-schroots': + content => "13 21 * * 0 root PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin setup-all-dchroots buildd\n", + } + } }