From 0a1a363ab12e5ae35e3f2e57630581b6150e181a Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Mon, 27 May 2013 02:37:48 +0300 Subject: [PATCH] nagios: Fixed notify parameter --- nagios/manifests/init.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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" {