X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fdebian-org%2Ffiles%2Fdsa-puppet-stuff.cron;fp=modules%2Fdebian-org%2Ffiles%2Fdsa-puppet-stuff.cron;h=5bbf6c443fd0fe13c1e10f25fda35accbf0e971d;hb=10798926214f5796ff758ff8a84c01b19647e598;hp=0000000000000000000000000000000000000000;hpb=c2c903fb20fcd76d586fcaa87530e28b29f18324;p=mirror%2Fdsa-puppet.git diff --git a/modules/debian-org/files/dsa-puppet-stuff.cron b/modules/debian-org/files/dsa-puppet-stuff.cron new file mode 100644 index 000000000..5bbf6c443 --- /dev/null +++ b/modules/debian-org/files/dsa-puppet-stuff.cron @@ -0,0 +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