>> That's exactly the reason (I presume) why the redhat provider doesn't >> set hasstatus. > > I run sshd under runit and wanted to ensure that there was no sshd > daemon started from the standard init script. > > I use this: > > status => "pgrep -f '/usr/sbin/sshd' -P 1" > > ie. check for sshd running with parent pid = 1.
That's a great workaround--I'll be using it tomorrow! Thanks. > R. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---