]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
this should work better
authorStephen Gran <steve@lobefin.net>
Thu, 24 Mar 2011 07:03:18 +0000 (07:03 +0000)
committerStephen Gran <steve@lobefin.net>
Thu, 24 Mar 2011 07:03:18 +0000 (07:03 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/debian-org/files/dsa-puppet-stuff.cron

index 97a23f5e748b4d9eb27e614d756506f3224dba60..60486c2873af10c09bd9663e8881193482f9cadd 100644 (file)
@@ -1,4 +1,4 @@
 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 -o --no-daemonize 2>&1 | grep -v 'v6: error fetching interface information: Device not found' ; fi
-@daily       root find /var/lib/puppet/clientbucket/ -type f -mtime +30 -atime +30 exec rm {} \;
+@daily       root find /var/lib/puppet/clientbucket/ -type f -mtime +30 -atime +30 -exec rm {} \+