From 81d2c0ba518dca2861e685edd7af657a0726340d Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 2 Oct 2008 22:28:04 +0000 Subject: fixed grep path --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 471ad39..b16eac3 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -131,7 +131,7 @@ class puppet::openbsd inherits puppet::base { binary => '/usr/local/bin/puppetd', } cron { 'puppetd_check': - command => '/bin/ps ax | /bin/grep -v grep | /bin/grep -q puppetd || (sleep `echo $RANDOM/2000*60 | bc` && /usr/local/bin/puppetd)', + command => '/bin/ps ax | /usr/bin/grep -v grep | /usr/bin/grep -q puppetd || (sleep `echo $RANDOM/2000*60 | bc` && /usr/local/bin/puppetd)', user => root, minute => 0, } -- cgit v1.2.3