]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/debian-org/files/dsa-puppet-stuff.cron
Merge branch 'master' of ssh://puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet
[dsa-puppet.git] / modules / debian-org / files / dsa-puppet-stuff.cron
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 -o --no-daemonize 2>&1 | grep -v 'v6: error fetching interface information: Device not found' ; fi
4 @daily       root find /var/lib/puppet/clientbucket/ -type f -mtime +30 -atime +30 -exec rm {} \+