From: Silvio Rhatto Date: Fri, 7 Mar 2014 21:30:51 +0000 (-0300) Subject: Small changes at rrdcached (2) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=23984ce0dec9f8587f546192af865fb91e92270b;p=puppet-nodo.git Small changes at rrdcached (2) --- 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':