I believe your issue is that your grep command will ALWAYS return 0
since it will see it's one process in the process list.  You must add
a second grep to ignore it.  Try the following:

                unless => "/bin/ps -aux |/usr/bin/grep '/data/service'
| grep -v grep"

-John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to