Issue #12105 has been updated by François Beausoleil.
I'm using 2.6 because that's what's packaged with Ubuntu. ---------------------------------------- Bug #12105: service always thinks service is down https://projects.puppetlabs.com/issues/12105 Author: François Beausoleil Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: 2.6.4 Keywords: service Branch: I wrote the following puppet service description, running on Ubuntu 11.04: class mysql::service{ service{'mysql': ensure => running, enable => true, hasrestart => true, hasstatus => true, require => Class['mysql::install'], } } Everytime I apply the manifest, the service is reenabled: puppet doesn't notice MySQL is already running. I've attached as much information as I could to help debug this. The "new" way to detect if a service is running is through "/usr/bin/service SERVICE_NAME status". I changed my service description to use a status parameter, which should prevent starting the service every time puppet runs. -- 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.
