-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> 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.

exactly. that's the terminology (running) used for init.d scripts that
exit with 0.

cheers pete
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxhImUACgkQbwltcAfKi39bMwCfWh4pUk3/QHuoIuQVXEqXt5o4
EOEAni3a90LZLeAOFIpcnvBHRB/vix6C
=Gald
-----END PGP SIGNATURE-----

-- 
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