X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=files%2Fetc%2Fcron.d%2Fdsa-puppet-stuff;h=3750093391cddf209c9ddcc29f38e6718f461bcb;hb=67194d17f41bac4c2a4a7e4fce08d8327cd3a49e;hp=9ee271786358e71bf92fb8a5c163ba41b217923a;hpb=2df2f8a253a6905b3127f42230f10d9f2ba45cfe;p=mirror%2Fdsa-puppet.git diff --git a/files/etc/cron.d/dsa-puppet-stuff b/files/etc/cron.d/dsa-puppet-stuff index 9ee271786..375009339 100644 --- a/files/etc/cron.d/dsa-puppet-stuff +++ b/files/etc/cron.d/dsa-puppet-stuff @@ -1,3 +1,3 @@ SHELL=/bin/bash @hourly root [ ! -d /var/cache/dsa ] || touch /var/cache/dsa/cron.alive -34 */4 * * * root [ ! -x /usr/sbin/puppet ] || ( sleep $(( $RANDOM \% 3600 )) && /usr/sbin/puppet -w 5 --factsync -t ) +34 */4 * * * root [ ! -x /usr/sbin/puppetd ] || ( sleep $(( $RANDOM \% 3600 )) && /usr/sbin/puppetd -w 5 --factsync -t )