Hi all,
i need configure module nsca on puppet.
I want ensure stopped the service, but puppet detect wrong the
process.
For example:
in this sistuation:
hululi ~ # ps aux | grep nsca
nagios 12730 0.0 0.0 16708 752 ? Ss 07:47 0:00 nsca -
c /etc/nagios/nsca.cfg --daemon
root 12778 0.0 0.0 8308 792 pts/8 S+ 07:47 0:00 grep
--colour=auto nsca
Puppet works perfectly because when puppet client run the check, it''s
turn off the daemon nsca.
but in this situation:
hululi ~ # ps aux | grep nsca
root 13392 0.0 0.0 6016 764 pts/8 S+ 07:50 0:00 egrep
(start|nsca)
root 13516 0.0 0.0 8308 792 pts/9 S+ 07:50 0:00 grep
--colour=auto nsca
For Puppet nsca daemon is up and it''s try to stop nsca daemon.
This is my configuration:
service { $nscasvc:
ensure => stopped,
enable => false,
pattern => "$nscapattern",
require => Class["nsca::install"],
}
If I add hasstatus => true work perfectly on gentoo but work bad on
debian.
Thanks
--
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.