X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=files%2Fetc%2Fcron.d%2Fdsa-puppet-stuff;h=5bbf6c443fd0fe13c1e10f25fda35accbf0e971d;hb=8c75e410466c6a6360002891518cc446f1ccec55;hp=0d16c2ceb96273f7dab62d11075b243878cd8e4e;hpb=3a8d50d01fcd8639ed429909aead5ff8c002fe10;p=mirror%2Fdsa-puppet.git diff --git a/files/etc/cron.d/dsa-puppet-stuff b/files/etc/cron.d/dsa-puppet-stuff index 0d16c2ceb..5bbf6c443 100644 --- a/files/etc/cron.d/dsa-puppet-stuff +++ b/files/etc/cron.d/dsa-puppet-stuff @@ -1 +1,3 @@ +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"; else TO=""; fi; $TO /usr/sbin/puppetd --factsync -o --no-daemonize 2>&1 | grep -v 'v6: error fetching interface information: Device not found' ; fi