]> git.openstreetmap.org Git - chef.git/commitdiff
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 d1478759ff81a68099dde4f29299e52fa0ca9f80..f0a04bcd430d190fce5edc48c53174e1dcc00b85 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