Awesome! Adding `pattern => "nrpe"` solved the issue.
Thanks for your help.
--
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/-/hcKGdrX7F4gJ.
To post to this
Use the pattern attribute, documented here:
http://docs.puppetlabs.com/references/stable/type.html#service
ken.
On Fri, Jul 8, 2011 at 1:18 AM, Joehillen wrote:
> Yes, it says it every time. The actual process is called "nrpe", so that
> makes sense that it can't find it.
> Unfortunately, it do
Yes, it says it every time. The actual process is called "nrpe", so that
makes sense that it can't find it.
Unfortunately, it doesn't have a status command. What should I do instead?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view thi
> notice: /Stage[main]/Nagios::Nrpe/Service[nagios-nrpe-server]/ensure: ensure
> changed 'stopped' to 'running'
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' com
For my nagios::nrpe class, I have the following service:
service {"nagios-nrpe-server":
ensure => running,
enable => true,
require => Package["nagios-nrpe-server"],
hasrestart => true,
restart => "/etc/init.d/nagios-nrpe-server re