Comment 5 for bug 551544

Revision history for this message
Mathias Gug (mathiaz) wrote :

Here is a proposal:

Add a statuscmd function in the puppet debian service provider. If the initscript script is a symlink to /lib/init/upstart-job, use the following command as the statuscmd instead of the default [initscript, :status] defined in the init provider:

 sh -c "invoke-rc.d SERVICE status | grep -q '^SERVICE.*running'"

I'd need to verify whether upstart has been i18n.