diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-07 18:30:51 -0300 | 
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-07 18:30:51 -0300 | 
| commit | 23984ce0dec9f8587f546192af865fb91e92270b (patch) | |
| tree | c79766f9ad05e170b6a594ebf5cbf653d85f0a11 /manifests/subsystem/monitor/master.pp | |
| parent | c928511a76ec8816e1df6603fd481ce06f7ce011 (diff) | |
| download | puppet-nodo-23984ce0dec9f8587f546192af865fb91e92270b.tar.gz puppet-nodo-23984ce0dec9f8587f546192af865fb91e92270b.tar.bz2  | |
Small changes at rrdcached (2)
Diffstat (limited to 'manifests/subsystem/monitor/master.pp')
| -rw-r--r-- | manifests/subsystem/monitor/master.pp | 6 | 
1 files changed, 4 insertions, 2 deletions
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':  | 
