diff --git a/nagios/manifests/init.pp b/nagios/manifests/init.pp index 7df220e..50ec061 100644 --- a/nagios/manifests/init.pp +++ b/nagios/manifests/init.pp @@ -286,11 +286,9 @@ class nagios::server inherits nagios::server::manual { Nagios::Host <<||>> { confdir => $confdir, - notify => Service["nagios"], } Nagios::Service <<||>> { confdir => $confdir, - notify => Service["nagios"], } } @@ -550,6 +548,7 @@ define nagios::service($host, $command, $description, $group="NONE", use => "default", target => "${confdir}/service_${name}.cfg", require => Nagios_Host[$host], + notify => Service["nagios"], } if $group != "NONE" {