X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ab2ede3f7ce07400d8183302431f85fe955e8bfb..3a33d35c42600aa215df8467702c98bee73415f8:/cookbooks/munin/templates/default/munin-node.conf.erb diff --git a/cookbooks/munin/templates/default/munin-node.conf.erb b/cookbooks/munin/templates/default/munin-node.conf.erb index f2e09d7e9..6bd38df19 100644 --- a/cookbooks/munin/templates/default/munin-node.conf.erb +++ b/cookbooks/munin/templates/default/munin-node.conf.erb @@ -31,7 +31,7 @@ port 4949 # List the addresses that are allowed to connect allow ^127\.0\.0\.1$ -<% @servers.each do |server| -%> +<% @servers.sort.each do |server| -%> allow ^<%= Regexp.quote(server) %>$ <% end -%> <% node[:munin][:allow].each do |address| -%>