On Feb 24, 10:52 am, Tim Dunphy <[email protected]> wrote:
> Also I should have mentioned that both services start by hand with an
> exit code of 0 (echo $?)

Do the dbserver scripts depend on something else environmental, such
as some other service being up?  The network service springs to mind
as a possible example, though if the network were down then your node
should not be able to obtain its catalog from the Pupeptmaster.

If you start the services by hand, then shut them down, then perform a
Puppet run, do the service startups still fail?  If so, can you
thereafter still start them by hand?

Is there any chance that the failures arise because the services are
already running?  An LSB-conformant initscript will exit with an error
code (probably 1) if asked to start a service that is already
running.  If your initscripts support the "status" command, then your
service declarations should include hasstatus => true to make Puppet
use it.  If not, then you may need use the "status" property to tell
Puppet how to recognize whether the services are running.  Without
either, Puppet has to fall back to looking in the process list, which
is error-prone.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to