diff options
author | mh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279> | 2008-06-13 20:02:35 +0000 |
---|---|---|
committer | mh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279> | 2008-06-13 20:02:35 +0000 |
commit | 1c58e95f08313f90d5c80922c231c9333b19a73f (patch) | |
tree | 9d24e887cccc04e27a1d41c1fb1b830451b30327 /templates/munin-node.conf.default | |
parent | aed996efe16b24837d70873f9b6143ed3968e873 (diff) | |
parent | 07a5491ba8f4fb8cbf556eebf562da918548bda0 (diff) |
Merge commit 'puzzle/development'
git-svn-id: https://rfd.cronopios.org/ipuppet/trunk/modules/munin@1600 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'templates/munin-node.conf.default')
-rw-r--r-- | templates/munin-node.conf.default | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/munin-node.conf.default b/templates/munin-node.conf.default index f10349e..5eed749 100644 --- a/templates/munin-node.conf.default +++ b/templates/munin-node.conf.default @@ -33,7 +33,6 @@ host_name <%= fqdn %> # regular expression, due to brain damage in Net::Server, which # doesn't understand CIDR-style network notation. You may repeat # the allow line as many times as you'd like -allow ^127\.0\.0\.1$ -allow <%= munin_allow1 %> -allow <%= munin_allow2 %> - +<% real_munin_allow.split(':').each do |val| -%> +allow <%= '^'+val.gsub(/\./, '\.')+'$' %> +<% end -%> |