I basically have a custom service i am running.... I want puppet to run a command if the process doesn't show up in ps - aux
What is happening is it runs the command no matter what. here is my exec exec { "$rule-$interface-svscan": command => "/usr/sbin/daemon -f /bin/sh -c \"/usr/ local/bin/svscan /data/service\"", unless => "/bin/ps -aux |/usr/bin/grep '/data/ service'", } -- 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.