X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..5c2ce2d18b182ae5f860ad8dcbbc8cf4c045acf7:/cookbooks/networking/templates/default/shorewall-hosts.erb?ds=sidebyside 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 -%>