On 28 February 2010 10:50, slune <[email protected]> wrote: > Hi, > > every time I run puppet, it tried to start haldaemon and messagebus > services, even when these services is running. > With other services, puppet works fine. > > Puppet version: > 0.24.8 > > Puppet services: > > service { "haldaemon": > enable => "true", > ensure => "running", > } > > service { "messagebus": > enable => "true", > ensure => "running", > } > > > Anyone any ideas?
This is likely to be as service name != process name - eg in messagebus init script I see: # processname: dbus-daemon and in haldaemon init I see # processname: hald In both these cases you can use the fact (I'm assuming RHEL, CentOS or Fedora) that the init scripts support status so you can add a hasstatus => "true" to those services, it's not default as many services lack it. See http://docs.reductivelabs.com/guides/types/service.html#hasstatus for further details Paul -- 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.
