# HG changeset patch # User IBBoard # Date 1445849182 0 # Node ID a11219498f1952c2673094f17c011f11136d7ace # Parent e7370fb20f1d25699adb56ca0d9d93f459d0b5e2 Do it properly and put a path in our cron job diff -r e7370fb20f1d -r a11219498f19 manifests/templates.pp --- a/manifests/templates.pp Sun Oct 25 21:21:13 2015 +0000 +++ b/manifests/templates.pp Mon Oct 26 08:46:22 2015 +0000 @@ -597,7 +597,7 @@ } # Since we're only managing the local server, use our script that wraps "puppet apply" instead of PuppetMaster cron { 'puppet': - command => 'puppet-apply | grep -v "Finished catalog run in"', + command => '/usr/local/bin/puppet-apply | grep -v "Finished catalog run in"', hour => '*/6', minute => 5 }