diff options
author | mh <mh@immerda.ch> | 2008-10-02 22:28:04 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-10-02 22:28:04 +0000 |
commit | 81d2c0ba518dca2861e685edd7af657a0726340d (patch) | |
tree | 3711f25506c6ca77d90767e74f6e932b5bcbc17c | |
parent | 9ca92ecfefb3bee983b232a826860a07e1d3cc4c (diff) |
fixed grep path
-rw-r--r-- | manifests/init.pp | 2 |
1 files changed, 1 insertions, 1 deletions
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, } |