X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/57d0912302e16609980df8129f09085cf9d4efba..5c5ffa21ddcce610d5bbf7b3885b08497e85dac4:/cookbooks/networking/recipes/default.rb diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index f68522bcf..29ea9ad65 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -196,11 +196,7 @@ firewall_rule "limit-icmp-echo" do dest "fw" proto "icmp" dest_ports "echo-request" - if node[:lsb][:release].to_f >= 10.04 - rate_limit "s:1/sec:5" - else - rate_limit "1/sec:5" - end + rate_limit "s:1/sec:5" end [ "ucl", "ic", "bm" ].each do |zone| @@ -305,11 +301,7 @@ if not node.interfaces(:family => :inet6).empty? dest "fw" proto "ipv6-icmp" dest_ports "echo-request" - if node[:lsb][:release].to_f >= 10.04 - rate_limit "s:1/sec:5" - else - rate_limit "1/sec:5" - end + rate_limit "s:1/sec:5" end end