+SHELL=/bin/bash
@hourly root [ ! -d /var/cache/dsa ] || touch /var/cache/dsa/cron.alive
+34 */4 * * * root [ ! -x /usr/sbin/puppetd ] || ( sleep $(( $RANDOM \% 3600 )) && /usr/sbin/puppetd -w 5 --factsync -t )
# Defaults for puppet - sourced by /etc/init.d/puppet
# Start puppet on boot?
-START=yes
+START=no
# Startup options
DAEMON_OPTS="-w 5 --factsync"
notify => Exec["puppet reload"];
"/etc/default/puppet":
source => "puppet:///files/etc/default/puppet",
- notify => Exec["puppet restart"];
+ require => Exec["puppet stop"];
"/etc/syslog-ng/syslog-ng.conf":
source => "puppet:///files/etc/syslog-ng/syslog-ng.conf",
path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
refreshonly => true,
}
- exec { "puppet restart":
+ exec { "puppet stop":
path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",
refreshonly => true,
}
## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
##
-check process puppetd with pidfile /var/run/puppet/puppetd.pid
- start program = "/etc/init.d/puppet start"
- stop program = "/etc/init.d/puppet stop"
- if cpu is greater than 80% for 3 cycles then alert
- if cpu > 60% for 5 cycles then restart
- if 5 restarts within 5 cycles then timeout
-
-check file puppetstate
- with path /var/lib/puppet/state/state.yaml
- if timestamp > 90 minutes for 9 cycles then exec "/etc/init.d/puppet stop"
- depends on puppetd
check file cronalive
with path /var/cache/dsa/cron.alive
file=/etc/bind/geodns/db.security.debian.org.AN
file=/etc/bind/geodns/db.security.debian.org.AF
file=/etc/bind/geodns/db.security.debian.org
+file=/etc/bind/geodns/db.video.debconf.debian.org.EU
+file=/etc/bind/geodns/db.video.debconf.debian.org.AF
+file=/etc/bind/geodns/db.video.debconf.debian.org.OC
+file=/etc/bind/geodns/db.video.debconf.debian.org.SA
+file=/etc/bind/geodns/db.video.debconf.debian.org.AS
+file=/etc/bind/geodns/db.video.debconf.debian.org.NA
+file=/etc/bind/geodns/db.video.debconf.debian.org.AN
+file=/etc/bind/geodns/db.video.debconf.debian.org
<% end -%>