]> git.openstreetmap.org Git - chef.git/commitdiff
Enable peering for squid 4 caches
authorTom Hughes <tom@compton.nu>
Mon, 9 Sep 2019 08:14:10 +0000 (09:14 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 9 Sep 2019 08:14:10 +0000 (09:14 +0100)
cookbooks/tilecache/templates/default/squid.conf.erb

index f0a04bcd430d190fce5edc48c53174e1dcc00b85..08d22812dd075c4f319be896569416d202450aa6 100644 (file)
@@ -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 -%>