From 0722982a293c2f3da0e703e375ded9604d4957f6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 7 Mar 2014 18:39:35 -0300 Subject: Fix on nodo::subsystem::monitor::master --- manifests/subsystem/monitor/master.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manifests/subsystem/monitor/master.pp b/manifests/subsystem/monitor/master.pp index dc52391..9056359 100644 --- a/manifests/subsystem/monitor/master.pp +++ b/manifests/subsystem/monitor/master.pp @@ -28,7 +28,10 @@ class nodo::subsystem::monitor::master { group => root, source => 'puppet:///modules/nodo/etc/default/rrdcached', require => Package['rrdcached'], - notify => Service['rrdcached'], + notify => $main ? { + true => Service['rrdcached'], + default => undef, + }, } if $main == true { -- cgit v1.2.3