]> git.openstreetmap.org Git - chef.git/commitdiff
Make munin work for internal network machines in Dublin
authorTom Hughes <tom@compton.nu>
Wed, 7 Dec 2022 09:02:10 +0000 (09:02 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 7 Dec 2022 09:02:10 +0000 (09:02 +0000)
cookbooks/munin/templates/default/munin.conf.erb

index cd20d4d9bf518158167060750f04f72479b1afeb..2009ff6a59eba45f014d498bf27cff54957ae2b1 100644 (file)
@@ -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 -%>