From: Tom Hughes Date: Wed, 7 Dec 2022 09:02:10 +0000 (+0000) Subject: Make munin work for internal network machines in Dublin X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/1edf3a71069497443a1f61277f662096aecfa529 Make munin work for internal network machines in Dublin --- diff --git a/cookbooks/munin/templates/default/munin.conf.erb b/cookbooks/munin/templates/default/munin.conf.erb index cd20d4d9b..2009ff6a5 100644 --- a/cookbooks/munin/templates/default/munin.conf.erb +++ b/cookbooks/munin/templates/default/munin.conf.erb @@ -27,6 +27,8 @@ unknown_limit 144 address <%= client.internal_ipaddress || client.external_ipaddress %> <% elsif client[:networking][:roles][:external][:zone] == "ams" -%> address <%= client.internal_ipaddress || client.external_ipaddress %> +<% elsif client[:networking][:roles][:external][:zone] == "dub" -%> + address <%= client.internal_ipaddress || client.external_ipaddress %> <% elsif client[:networking][:roles][:external][:zone] == "bm" -%> address <%= client.internal_ipaddress || client.external_ipaddress %> <% elsif client.external_ipaddress -%>