From: Tom Hughes Date: Mon, 9 Sep 2019 08:14:10 +0000 (+0100) Subject: Enable peering for squid 4 caches X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/e923df607a12d4a184b252723df0473bb7d3f5f3 Enable peering for squid 4 caches --- diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index f0a04bcd4..08d22812d 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -117,12 +117,10 @@ acl tile_caches src <%= address %> <% end -%> <% end -%> -<% if node[:squid][:version] == 2 -%> # Siblings <% node[:tilecache][:tile_siblings].each do |sibling| -%> cache_peer <%= sibling %> sibling 3128 3130 weight=1500 <% end -%> -<% end -%> # Primary Parent <% if node[:squid][:version] < 4 -%>