Make stormfly-02 a tile cache
authorGrant Slater <git@firefishy.com>
Tue, 16 Dec 2014 16:58:26 +0000 (16:58 +0000)
committerGrant Slater <git@firefishy.com>
Tue, 16 Dec 2014 16:58:26 +0000 (16:58 +0000)
roles/stormfly-02.rb

index c27b1d06a9efb271f005c1a008102336908af4b3..9e97b4a674d23fb798aa47f876216b6498c0710d 100644 (file)
@@ -11,10 +11,25 @@ default_attributes(
         :address => "140.211.167.105"
       }
     }
+  },
+  :squid => {
+    :cache_mem => "32000 MB",
+    :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
+  },
+  :tilecache => {
+    :tile_parent => "corvallis.render.openstreetmap.org",
+    :tile_siblings => [
+      "nadder-01.openstreetmap.org",
+      "nadder-02.openstreetmap.org",
+      "jakelong.openstreetmap.org",
+      "nepomuk.openstreetmap.org",
+      "lurien.openstreetmap.org"
+    ]
   }
 )
 
 run_list(
   "role[osuosl]",
-  "role[hp-g6]"
+  "role[hp-g6]",
+  "role[tilecache]"
 )