From: Tom Hughes Date: Thu, 11 Jul 2019 19:31:52 +0000 (+0100) Subject: Disable peering for squid 4 caches X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/caa468ac9b4c829319704ef3e01d49698d6d9d71 Disable peering for squid 4 caches --- diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index d1478759f..f0a04bcd4 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -117,7 +117,7 @@ acl tile_caches src <%= address %> <% end -%> <% end -%> -<% if node[:squid][:version] != 3 -%> +<% if node[:squid][:version] == 2 -%> # Siblings <% node[:tilecache][:tile_siblings].each do |sibling| -%> cache_peer <%= sibling %> sibling 3128 3130 weight=1500