Disable peering for squid 4 caches
authorTom Hughes <tom@compton.nu>
Thu, 11 Jul 2019 19:31:52 +0000 (20:31 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 11 Jul 2019 19:31:52 +0000 (20:31 +0100)
cookbooks/tilecache/templates/default/squid.conf.erb

index d147875..f0a04bc 100644 (file)
@@ -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