From e923df607a12d4a184b252723df0473bb7d3f5f3 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 9 Sep 2019 09:14:10 +0100 Subject: [PATCH] Enable peering for squid 4 caches --- cookbooks/tilecache/templates/default/squid.conf.erb | 2 -- 1 file changed, 2 deletions(-) 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 -%> -- 2.43.2