diff options
author | Marcel Haerry <haerry@puzzle.ch> | 2008-05-26 11:21:28 +0200 |
---|---|---|
committer | Marcel Haerry <haerry@puzzle.ch> | 2008-05-26 11:21:28 +0200 |
commit | 013317ba7744477be001bb3850f69ec37cc1540b (patch) | |
tree | 2656f7be20f75cb63401440286c6e583ecbceff7 /manifests | |
parent | 5547be2954d17040727d048d16fb245965ebe144 (diff) |
made munin_allow a lot more scalable
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/client.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index bee3609..59b6980 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -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, |