On Mon, Jan 24, 2011 at 02:26:20PM -0800, Daniel Pittman wrote:
> I would make that "...by looking for a process name that matches the
> name of the puppet service resource name in the ..."
> 

I just noticed that it doesnt have to be the process name, it can match
just anything in ps -ef output. Right now I was wondering why

puppet apply -v -d -e 'service { "sshd": ensure => running, provider => init}'

always reports that ssh is running with different pids while it is
actually not running at all. It cost me 15 minutes to find out that
puppet was always reporting its own pid because it has "sshd" in its
parameters ;-)

-Stefan

Attachment: pgpgeBz46CZzu.pgp
Description: PGP signature

Reply via email to