Weird. This Should Not Have Worked in puppet 2.6 either.

Note that to make puppet work correctly with uncompliant initscripts,
you can pass 'hasstatus => false' to your service resources. There are
other parameters that make operation quite flexible. Please refer to the
puppet type reference e.g.
http://docs.puppetlabs.com/references/2.6.8/type.html#service

But yes, writing LSB compliant initscripts is the best way to go about this.

HTH,
Felix

On 12/31/2013 02:24 PM, Jon Yeargers wrote:
> I corrected the problem by including this in my /etc/init.d/<script>:
> 
> if [ -e $PIDFILE ]
> then
>       exit 0
> else
>       exit 1
> fi
> 
> Put this in a 'status' command for your service control script. It works
> in puppet v3.4.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/52C4565E.20003%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to