Issue #12773 has been updated by Hendy Irawan.

Additional related tickets:

* [Launchpad #551544: puppet in lucid does not support upstart 
status](https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/551544)
* [puppet service status checks | 
Ubuntuforums](http://ubuntuforums.org/showthread.php?t=1865856)

----------------------------------------
Bug #12773: Service Status detection does not always work properly on Ubuntu
https://projects.puppetlabs.com/issues/12773#change-55450

Author: Hendy Irawan
Status: Unreviewed
Priority: Normal
Assignee: 
Category: service
Target version: 
Affected Puppet version: 2.7.10
Keywords: Ubuntu,service,status
Branch: 


This stems from the fact that not all Ubuntu service status scripts use exit 
code.

e.g.

    $ service mysql status; echo $?
    mysql stop/waiting
    0
    
This is the case as of Ubuntu 11.10.

This makes service detection require additional "hasstatus" and "status", which 
calls the service status combined with "grep 'is running'" and similar 
techniques.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to