]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/templates/default/munin-node.conf.erb
Fix munin node configuration
[chef.git] / cookbooks / munin / templates / default / munin-node.conf.erb
index 4f3580b563ba9e7a1eec94e333c6d8fdf43f39fb..f2e09d7e9cd61219d6997a34aef56e382be5f0e2 100644 (file)
@@ -32,9 +32,7 @@ port 4949
 # List the addresses that are allowed to connect
 allow ^127\.0\.0\.1$
 <% @servers.each do |server| -%>
-<% server.interfaces do |interface| -%>
-allow ^<%= Regexp.quote(interface[:address]) %>$
-<% end -%>
+allow ^<%= Regexp.quote(server) %>$
 <% end -%>
 <% node[:munin][:allow].each do |address| -%>
 allow ^<%= Regexp.quote(address) %>$