From 23984ce0dec9f8587f546192af865fb91e92270b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 7 Mar 2014 18:30:51 -0300 Subject: Small changes at rrdcached (2) --- manifests/subsystem/monitor/master.pp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'manifests') diff --git a/manifests/subsystem/monitor/master.pp b/manifests/subsystem/monitor/master.pp index 97dda33..d6f09b7 100644 --- a/manifests/subsystem/monitor/master.pp +++ b/manifests/subsystem/monitor/master.pp @@ -11,9 +11,11 @@ class nodo::subsystem::monitor::master { if $main == true { $ensure = 'present' + $package = 'installed' $service = 'running' } else { - $ensure = 'purged' + $ensure = 'absent' + $package = 'purged' $service = 'stopped' } @@ -23,7 +25,7 @@ class nodo::subsystem::monitor::master { # http://kuszelas.eu/~eyck/log/Howto/Munin.Rrdcached.html # package { 'rrdcached': - ensure => $ensure, + ensure => $package, } file { '/etc/default/rrdcached': -- cgit v1.2.3