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?
Thx
Filip
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.
Paul Nasrat
2010-Feb-28 10:56 UTC
Re: [Puppet Users] starting haldaemon and messagebus services
On 28 February 2010 10:50, slune <filip.slunecko@gmail.com> 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 puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Filip Slunecko
2010-Feb-28 13:39 UTC
Re: [Puppet Users] starting haldaemon and messagebus services
hasstatus => "true" works. I have to read documentation more carefully next time :). Thanks a lot Paul. Filip On Sun, Feb 28, 2010 at 11:56 AM, Paul Nasrat <pnasrat@googlemail.com> wrote:> On 28 February 2010 10:50, slune <filip.slunecko@gmail.com> 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 puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.