]> git.donarmstrong.com Git - dsa-puppet.git/blob - files/etc/cron.d/dsa-puppet-stuff
f3aa1a5baf697d7182211060510650697dc74866
[dsa-puppet.git] / files / etc / cron.d / dsa-puppet-stuff
1 SHELL=/bin/bash
2 @hourly  root [ ! -d /var/cache/dsa ] || touch /var/cache/dsa/cron.alive
3 34 */4 * * * root if [ -x /usr/sbin/puppetd ]; then sleep $(( $RANDOM \% 3600 )); if [ -x /usr/bin/timeout ]; then TO="timeout 3600"; else TO=""; fi; $TO /usr/sbin/puppetd --factsync -o --no-daemonize ; fi