X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/956628583e0c73dc82b457cd83cbc5013b9cfd19..c6737f1aca60955a8081e7e94969a21de73a589f:/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