X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/35604b8c528919ec730fd8ef5646b60edd65e2ac..1f0495ace8de757939fde8a77b8070ab3d5f2681:/cookbooks/networking/templates/default/shorewall-rules.erb diff --git a/cookbooks/networking/templates/default/shorewall-rules.erb b/cookbooks/networking/templates/default/shorewall-rules.erb index dbe0120cb..7cda2fbf1 100644 --- a/cookbooks/networking/templates/default/shorewall-rules.erb +++ b/cookbooks/networking/templates/default/shorewall-rules.erb @@ -8,6 +8,6 @@ SECTION NEW # ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE # PORTS PORTS DEST LIMIT -<% @rules.each do |r| -%> +<% node[:networking][:firewall][@family].each do |r| # ~FC034 -%> <%= r[:action] %> <%= r[:source] %> <%= r[:dest] %> <%= r[:proto] %> <%= r[:dest_ports] %> <%= r[:source_ports] %> - <%= r[:rate_limit] %> <% end -%>