projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
439001c
)
On new buildds, re-create schroots weekly
author
Peter Palfrader
<peter@palfrader.org>
Fri, 5 Dec 2014 18:18:49 +0000
(19:18 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 5 Dec 2014 18:18:49 +0000
(19:18 +0100)
modules/buildd/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/buildd/manifests/init.pp
b/modules/buildd/manifests/init.pp
index
8779279
..
05e0282
100644
(file)
--- 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",
+ }
+ }
}