]> git.openstreetmap.org Git - chef.git/commitdiff
Configure fume as a tile cache
authorTom Hughes <tom@compton.nu>
Mon, 20 May 2019 07:30:13 +0000 (08:30 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 20 May 2019 07:30:13 +0000 (08:30 +0100)
roles/fume.rb

index 0a29e5d209dbbe2ceee8f18151fe2ee0a9e6c5c9..a023e8a04fb0c6d7958442cdfb0b7dcc8c94fd88 100644 (file)
@@ -13,9 +13,23 @@ default_attributes(
         :gateway => "147.228.60.1"
       }
     }
         :gateway => "147.228.60.1"
       }
     }
+  },
+  :squid => {
+    :cache_mem => "4096 MB",
+    :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
+  },
+  :tilecache => {
+    :tile_parent => "pilsen.render.openstreetmap.org",
+    :tile_siblings => [
+      "sarkany.openstreetmap.org",
+      "chrysophylax.openstreetmap.org",
+      "drogon.openstreetmap.org",
+      "viserion.openstreetmap.org"
+    ]
   }
 )
 
 run_list(
   }
 )
 
 run_list(
-  "role[zcu]"
+  "role[zcu]",
+  "role[tilecache]"
 )
 )