nagios: Fixed notify parameter

This commit is contained in:
Ossi Salmi 2013-05-27 02:37:48 +03:00
parent c3ffcb8fae
commit 0a1a363ab1

View file

@ -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" {