From 52564d8fcc333ebe2ae5f02a6fa5b381cd5f3797 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 5 Jun 2013 15:57:34 -0300 Subject: Minor apc_nis munin update --- manifests/subsystem/ups.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manifests/subsystem/ups.pp b/manifests/subsystem/ups.pp index 9802d26..915bc40 100644 --- a/manifests/subsystem/ups.pp +++ b/manifests/subsystem/ups.pp @@ -23,9 +23,11 @@ class nodo::subsystem::ups( } # Graph local UPS - munin::plugin { apc_nis: + munin::plugin { 'apc_nis': ensure => $nisip ? { '127.0.0.1' => present, + '0.0.0.0' => present, + 'localhost' => present, default => absent, } } -- cgit v1.2.3