On Sun, 2011-07-24 at 02:03 -0400, vagn scott wrote:

> the idiom is to use a trivial character class:
> 
>   unless =>  "/bin/ps -aux | /usr/bin/grep '/[d]ata/service'",

Or use pgrep which never matches itself:

/usr/bin/pgrep -f '/data/service'


--
Ian

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

Reply via email to