From: Grant Slater Date: Fri, 9 Aug 2013 10:59:16 +0000 (+0100) Subject: Tilecache shorewall: add IP family to avoid address error on IPv6 X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/7887d6f07bb4644a0846e901e220157bee2fb370 Tilecache shorewall: add IP family to avoid address error on IPv6 --- diff --git a/cookbooks/tilecache/recipes/default.rb b/cookbooks/tilecache/recipes/default.rb index 18aa14e14..7feb45fc9 100644 --- a/cookbooks/tilecache/recipes/default.rb +++ b/cookbooks/tilecache/recipes/default.rb @@ -25,6 +25,7 @@ tilecaches.each do |cache| cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| firewall_rule "accept-squid" do action :accept + family "inet" source "net:#{address}" dest "fw" proto "tcp:syn" @@ -33,6 +34,7 @@ tilecaches.each do |cache| end firewall_rule "accept-squid-icp" do action :accept + family "inet" source "net:#{address}" dest "fw" proto "udp"