From efd176d3ecb317046e420611cc60c7dfea22737a Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 2 Sep 2013 14:58:01 +0100 Subject: [PATCH] Tilecache: add a few manual siblings trogdor <-> fume, jakelong -> nadder-0[12] --- cookbooks/tilecache/templates/default/squid.conf.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.39.5