]> git.openstreetmap.org Git - chef.git/blobdiff - roles/katie.rb
Enable netplan for American tile caches
[chef.git] / roles / katie.rb
index 56af801fdc78220e52d426be40077ce054639334..99a694828e26d8058d24b977cfd4e66144bb4b07 100644 (file)
@@ -2,7 +2,20 @@ name "katie"
 description "Master role applied to katie"
 
 default_attributes(
+  :devices => {
+    :disktune => {
+      :comment => "Tune scheduler for Toshiba disks",
+      :type => "block",
+      :bus => "ata",
+      :serial => "TOSHIBA_DT01ACA300_*",
+      :attrs => {
+        "queue/scheduler" => "deadline"
+      }
+    }
+  },
+  :location => "Falkenstein, Germany",
   :networking => {
+    :netplan => true,
     :interfaces => {
       :external_ipv4 => {
         :interface => "eth0",
@@ -33,7 +46,6 @@ default_attributes(
       "trogdor.openstreetmap.org",
       "nepomuk.openstreetmap.org",
       "ridgeback.openstreetmap.org",
-      "fume.openstreetmap.org",
       "gorynych.openstreetmap.org",
       "simurgh.openstreetmap.org"
     ]
@@ -42,5 +54,6 @@ default_attributes(
 
 run_list(
   "role[hetzner]",
+  "role[geodns]",
   "role[tilecache]"
 )