]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/squid.conf.erb
Enable peering for squid 4 caches
[chef.git] / 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 -%>