From 274b4029582df262ce4bedcb6aa50831f8ef0a20 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 12 Jun 2013 09:39:43 -0300 Subject: Moving apc_nis munin plugin to apcupsd module --- manifests/subsystem/ups.pp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'manifests/subsystem/ups.pp') 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, -- cgit v1.2.3