On Aug 6, 2010, at 6:56 AM, Daniel Maher wrote:

> Which is what we want, but i'm curious as to _why_ this is so, given (again) 
> that we're talking about an init script, and not a particular service that 
> sits in memory.  Granted, the effects of the script can be known - is puppet 
> smart enough to figure out what effect "service network *" ultimately has on 
> the system, or is this sort of a happy accident, or yet something else 
> entirely ?

This is just guessing from behavior I’ve witnessed, but I think Puppet calls 
`service whatever status` and looks at the exit status. 0 means “running” and 
everything else means not running.

`service network status` exits with 0 on my RHEL5 systems.

-- 
Rob McBroom
<http://www.skurfer.com/>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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