# 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) %>$