]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/templates/default/shorewall-hosts.erb
Attempt to override the FQDN on fume
[chef.git] / cookbooks / networking / templates / default / shorewall-hosts.erb
index 76160b0607c6d5e81d85c881f422e848d9c16d76..86c294cc6d43b3e97c10ac2173c1105561201c5a 100644 (file)
@@ -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 -%>