]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Meh
authorPeter Palfrader <peter@palfrader.org>
Tue, 12 Jun 2012 22:34:25 +0000 (00:34 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 12 Jun 2012 22:34:25 +0000 (00:34 +0200)
modules/debian-org/files/dsa-puppet-stuff.cron

index 259de9e2a89a8b4e6bd4711e1313adc98301dbd7..e173deb7243102aaa12430f47092b5552f184940 100644 (file)
@@ -5,5 +5,5 @@
 
 SHELL=/bin/bash
 @hourly  root [ ! -d /var/cache/dsa ] || touch /var/cache/dsa/cron.alive
-34 */4 * * * root if [ -x /usr/sbin/puppetd ]; then sleep $(( $RANDOM \% 3600 )); if [ -x /usr/bin/timeout ]; then TO="timeout 3600 --kill-after=900"; else TO=""; fi; tmp="$(tempfile)"; egrep -v '^(#|$)' /etc/dsa/cron.ignore.dsa-puppet-stuff > "$tmp" && $TO /usr/sbin/puppetd -o --no-daemonize 2>&1 | egrep --text -v -f "$tmp"; rm -f "$tmp"; fi
+34 */4 * * * root if [ -x /usr/sbin/puppetd ]; then sleep $(( $RANDOM \% 3600 )); if [ -x /usr/bin/timeout ]; then TO="timeout --kill-after=900 3600"; else TO=""; fi; tmp="$(tempfile)"; egrep -v '^(#|$)' /etc/dsa/cron.ignore.dsa-puppet-stuff > "$tmp" && $TO /usr/sbin/puppetd -o --no-daemonize 2>&1 | egrep --text -v -f "$tmp"; rm -f "$tmp"; fi
 @daily       root find /var/lib/puppet/clientbucket/ -type f -mtime +30 -atime +30 -exec rm {} \+