]> git.openstreetmap.org Git - chef.git/blobdiff - roles/yevaud.rb
Move readonly database load to ramoth
[chef.git] / roles / yevaud.rb
index 362ddb12f52e1a54c8b00b3fbc1049071d99b8b0..b49ffabd949cca73ccf39af81622698076de0ece 100644 (file)
@@ -2,6 +2,9 @@ name "yevaud"
 description "Master role applied to yevaud"
 
 default_attributes(
+  :apt => {
+    :sources => ["postgresql"]
+  },
   :devices => {
     :osdisktune1 => {
       :comment => "Tune os disk",
@@ -55,8 +58,8 @@ default_attributes(
       },
       :load => {
         :load => {
-          :warning => 250,
-          :critical => 300
+          :warning => 400,
+          :critical => 500
         }
       }
     }
@@ -88,13 +91,6 @@ default_attributes(
         "kernel.shmmax" => 9 * 1024 * 1024 * 1024,
         "kernel.shmall" => 9 * 1024 * 1024 * 1024 / 4096
       }
-    },
-    :cpu_tune => {
-      :comment => "Tune kern sched migration cost",
-      :parameters => {
-        "kernel.sched_autogroup_enabled" => 0,
-        "kernel.sched_migration_cost_ns" => 25000000
-      }
     }
   },
   :tile => {