changeset 76:a11219498f19 puppet-3.6

Do it properly and put a path in our cron job
author IBBoard <dev@ibboard.co.uk>
date Mon, 26 Oct 2015 08:46:22 +0000
parents e7370fb20f1d
children eea672621e7f
files manifests/templates.pp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
 	}