X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/3c7828c248553645d2e8ce083787931bfbbf4f75..29d741d17b7f029b4313d70182cfcc6f7c333a06:/cookbooks/networking/templates/default/shorewall-hosts.erb diff --git a/cookbooks/networking/templates/default/shorewall-hosts.erb b/cookbooks/networking/templates/default/shorewall-hosts.erb index 76160b060..86c294cc6 100644 --- a/cookbooks/networking/templates/default/shorewall-hosts.erb +++ b/cookbooks/networking/templates/default/shorewall-hosts.erb @@ -2,6 +2,7 @@ # ZONE HOST OPTIONS <% node.interfaces(:family => :inet, :role => :external).each do |interface| -%> +<% if interface[:interface] -%> <% @zones.keys.sort.each do |zone| -%> <% if @zones[zone]["inet"] -%> <% @zones[zone]["inet"].sort.each do |ra| -%> @@ -10,3 +11,4 @@ <% end -%> <% end -%> <% end -%> +<% end -%>