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