global $monitor_tool variable takes presedence over class parameters
jskarpe opened this issue · comments
Attempting to disable nagios check for ntp nextgen module:
$monitor_tool = ["nagios", "monit", "munin", "puppi"]
class {
'ntp' :
server => ['pool.ntp.org'],
puppi => true,
monitor => true,
monitor_tool => ["monit", "munin", "puppi"],
}
Here Nagios is still enabled for ntp
Are you sure?
Note that changes on Nagios (as everything driven by storedconfigs) are applied AFTER a run on the target node and a subsequent run on the Nagios Server.