X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..a81d3cdabca3b55a19b2bcc4c2cf5a1dd30071b4:/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 -%>