That looks like its trying to start it, not restart it. Do you get
this message each time you do a puppet run (even when nothing has
changed)? If so - you might need a valid 'status' command and use
hasstatus => true. It probably thinks its not started perhaps.
Puppet falls back to looking in the process table when you don't
specify hasstatus => true to determine service status - and it uses
the name of the service (in this case nagios-nrpe-server) to do the
search.
ken.
http://docs.puppetlabs.com/references/stable/type.html#service
ken.
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/3UvUuuLOprIJ.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
--
"Join us for PuppetConf, September 22nd and 23rd in Portland, OR:
http://bit.ly/puppetconfsig"