]> git.openstreetmap.org Git - chef.git/blob - cookbooks/networking/templates/default/shorewall-rules.erb
Adjust tile expiry thresholds
[chef.git] / cookbooks / networking / templates / default / shorewall-rules.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <% if node[:lsb][:release].to_f >= 16.04 -%>
4 ?SECTION NEW
5 <% else -%>
6 SECTION NEW
7 <% end -%>
8
9 # ACTION        SOURCE  DEST    PROTO           DEST            SOURCE  ORIGINAL        RATE
10 #                                               PORTS           PORTS   DEST            LIMIT
11 <% @rules.each do |r| -%>
12 <%= r[:action] %>               <%= r[:source] %>       <%= r[:dest] %> <%= r[:proto] %>                <%= r[:dest_ports] %>   <%= r[:source_ports] %> -       <%= r[:rate_limit] %>
13 <% end -%>