From: Silvio Rhatto Date: Wed, 12 Jun 2013 12:39:43 +0000 (-0300) Subject: Moving apc_nis munin plugin to apcupsd module X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=274b4029582df262ce4bedcb6aa50831f8ef0a20;p=puppet-nodo.git Moving apc_nis munin plugin to apcupsd module --- diff --git a/manifests/subsystem/ups.pp b/manifests/subsystem/ups.pp index 517bbf3..f57f4fe 100644 --- a/manifests/subsystem/ups.pp +++ b/manifests/subsystem/ups.pp @@ -23,10 +23,7 @@ class nodo::subsystem::ups( minutes => $minutes, } - # Graph local UPS - # We might want to replace the debian plugin with a newer one which better - # maximum limits: http://munin-monitoring.org/browser/munin/plugins/node.d/apc_nis.in - munin::plugin { 'apc_nis': + class { 'apcupsd::munin': ensure => $munin ? { true => present, default => absent,