]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ladon.rb
Enable netplan for American tile caches
[chef.git] / roles / ladon.rb
index eade9a08c7030a7a439edb42d9aaf9b86adb723c..d6441143144887c034ee7da8603d993662172ad6 100644 (file)
@@ -3,6 +3,7 @@ description "Master role applied to ladon"
 
 default_attributes(
   :networking => {
+    :netplan => true,
     :interfaces => {
       :external_ipv4 => {
         :interface => "bond0",
@@ -15,7 +16,7 @@ default_attributes(
           :mode => "802.3ad",
           :miimon => "100",
           :xmithashpolicy => "layer3+4",
-          :slaves => %w(eth0 eth1)
+          :slaves => %w[eth0 eth1]
         }
       },
       :external_ipv6 => {
@@ -27,9 +28,24 @@ default_attributes(
         :gateway => "2001:648:2ffe:4::1"
       }
     }
+  },
+  :squid => {
+    :cache_mem => "6100 MB",
+    :cache_dir => "coss /store/squid/coss-01 80000 block-size=8192 max-size=262144 membufs=80"
+  },
+  :tilecache => {
+    :tile_parent => "athens.render.openstreetmap.org",
+    :tile_siblings => [
+      "trogdor.openstreetmap.org",
+      "katie.openstreetmap.org",
+      "konqi.openstreetmap.org",
+      "ridgeback.openstreetmap.org",
+      "gorynych.openstreetmap.org"
+    ]
   }
 )
 
 run_list(
-  "role[grnet]"
+  "role[grnet]",
+  "role[tilecache]"
 )