]> git.openstreetmap.org Git - chef.git/blobdiff - roles/viserion.rb
Enable netplan for NZ tile caches
[chef.git] / roles / viserion.rb
index 9f264a1bf7094a75909293515ef60209773846f9..9b0211ce50c93efa3862ce985721bcd2f7c79e3f 100644 (file)
@@ -2,6 +2,15 @@ name "viserion"
 description "Master role applied to viserion"
 
 default_attributes(
+  :accounts => {
+    :users => {
+      :anovak => { :status => :administrator }
+    }
+  },
+  :location => "Pula, Croatia",
+  :munin => {
+    :allow => ["193.198.233.210"]
+  },
   :networking => {
     :interfaces => {
       :external_ipv4 => {
@@ -9,30 +18,38 @@ default_attributes(
         :role => :external,
         :family => :inet,
         :address => "193.198.233.211",
-        :prefix => "27",
+        :prefix => "29",
         :gateway => "193.198.233.209"
       },
       :external_ipv6 => {
         :interface => "eth0",
         :role => :external,
         :family => :inet6,
-        :address => "2001:b68:4cff:3::2",
-        :prefix => "128",
-        :gateway => "fe80::217:fff:fead:14c0"
+        :address => "2001:b68:4cff:3::3",
+        :prefix => "64",
+        :gateway => "2001:b68:4cff:3::1"
       }
-    }
+    },
+    :nameservers => [
+      "8.8.8.8",
+      "8.8.4.4",
+      "2001:4860:4860::8888",
+      "2001:4860:4860::8844"
+    ]
   },
   :squid => {
-    :cache_mem => "12500 MB",
+    :cache_mem => "28000 MB",
     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
   },
   :tilecache => {
     :tile_parent => "pula.render.openstreetmap.org",
     :tile_siblings => [
+      "drogon.openstreetmap.org"
     ]
   }
 )
 
 run_list(
-  "role[carnet]"
+  "role[carnet]",
+  "role[tilecache]"
 )