From: Grant Slater Date: Mon, 2 Sep 2013 13:58:01 +0000 (+0100) Subject: Tilecache: add a few manual siblings trogdor <-> fume, jakelong -> nadder-0[12] X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/efd176d3ecb317046e420611cc60c7dfea22737a Tilecache: add a few manual siblings trogdor <-> fume, jakelong -> nadder-0[12] --- diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index fdd161091..b3e447aeb 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -12,6 +12,16 @@ cache_peer nadder-02.openstreetmap.org sibling 3128 3130 proxy-only <% if node[:fqdn] == "nadder-02.openstreetmap.org" -%> cache_peer nadder-01.openstreetmap.org sibling 3128 3130 proxy-only <% end -%> +<% if node[:fqdn] == "trogdor.openstreetmap.org" -%> +cache_peer fume.openstreetmap.org sibling 3128 3130 +<% end -%> +<% if node[:fqdn] == "fume.openstreetmap.org" -%> +cache_peer trogdor.openstreetmap.org sibling 3128 3130 +<% end -%> +<% if node[:fqdn] == "jakelong.openstreetmap.org" -%> +cache_peer nadder-01.openstreetmap.org sibling 3128 3130 proxy-only +cache_peer nadder-02.openstreetmap.org sibling 3128 3130 proxy-only +<% end -%> cache_peer <%= node[:tilecache][:tile_parent] %> parent 80 0 no-query originserver name=osmtileAccel login=PASS connect-timeout=60 no-digest weight=1000 cache_peer render.openstreetmap.org parent 80 0 no-query originserver name=osmtileAccelBackup login=PASS connect-timeout=60 no-digest weight=10