made munin_allow a lot more scalable
[puppet_munin.git] / manifests / client.pp
index bee3609..59b6980 100644 (file)
@@ -60,6 +60,10 @@ class munin::client::base {
                        ensure => directory,
                        mode => 0755, owner => root, group => 0;
     }
+    $real_munin_allow = $munin_allow ? {
+        '' => '127.0.0.1',
+        default => $munin_allow
+    }
     file {"/etc/munin/munin-node.conf":
                        content => template("munin/munin-node.conf.$operatingsystem"),
                        mode => 0644, owner => root, group => 0,