X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/956628583e0c73dc82b457cd83cbc5013b9cfd19..025f05041c746a1602697d2edce62ed75eac6df9:/cookbooks/munin/templates/default/munin.conf.erb diff --git a/cookbooks/munin/templates/default/munin.conf.erb b/cookbooks/munin/templates/default/munin.conf.erb index 9bceccd25..f204de2a0 100644 --- a/cookbooks/munin/templates/default/munin.conf.erb +++ b/cookbooks/munin/templates/default/munin.conf.erb @@ -20,7 +20,7 @@ unknown_limit 144 address <%= client.internal_ipaddress %> <% elsif client[:networking][:roles][:external][:zone] == "ic" -%> address <%= client.internal_ipaddress || client.external_ipaddress %> -<% else -%> +<% elsif client.external_ipaddress -%> address <%= client.external_ipaddress %> <% end -%> use_node_name yes