]> git.openstreetmap.org Git - chef.git/commitdiff
Teach munin to use internal addresses for Amsterdam machines
authorTom Hughes <tom@compton.nu>
Thu, 26 Jul 2018 09:50:50 +0000 (10:50 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 26 Jul 2018 09:50:50 +0000 (10:50 +0100)
cookbooks/munin/templates/default/munin.conf.erb

index 6b08b07fecee040df2b3327359f78c080cb9efb8..271d0c3e13cf3a6b7952ba9a7e97944c30cab87a 100644 (file)
@@ -34,7 +34,7 @@ unknown_limit 144
 <% end -%>
 <% if client[:networking][:roles][:external][:zone] == "ucl" -%>
     address <%= client.internal_ipaddress || client.external_ipaddress %>
-<% elsif client[:networking][:roles][:external][:zone] == "ic" -%>
+<% elsif client[:networking][:roles][:external][:zone] == "ams" -%>
     address <%= client.internal_ipaddress || client.external_ipaddress %>
 <% elsif client[:networking][:roles][:external][:zone] == "bm" -%>
     address <%= client.internal_ipaddress || client.external_ipaddress %>