X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..1d23c59f10b2636d9c20b3da441aa22373f88af4:/cookbooks/networking/templates/default/shorewall-interfaces.erb diff --git a/cookbooks/networking/templates/default/shorewall-interfaces.erb b/cookbooks/networking/templates/default/shorewall-interfaces.erb index 89d8a2d54..d8a5705d2 100644 --- a/cookbooks/networking/templates/default/shorewall-interfaces.erb +++ b/cookbooks/networking/templates/default/shorewall-interfaces.erb @@ -2,7 +2,7 @@ # ZONE INTERFACE BROADCAST OPTIONS <% node[:networking][:interfaces].each do |name,interface| -%> -<% if interface[:family] == "inet" -%> +<% if interface[:interface] && interface[:family] == "inet" -%> <% if interface[:role] == "internal" -%> loc <%= interface[:interface] %> detect nosmurfs,tcpflags <% elsif interface[:role] == "external" -%>