]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Moving apc_nis munin plugin to apcupsd module
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 12 Jun 2013 12:39:43 +0000 (09:39 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 12 Jun 2013 12:39:43 +0000 (09:39 -0300)
manifests/subsystem/ups.pp

index 517bbf35494bda7028053d387dcae0be8f56f06f..f57f4fefb5686e68ce22cb179b1502a7634c3f51 100644 (file)
@@ -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,