]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ramoth.rb
Update memcached munin plugins
[chef.git] / roles / ramoth.rb
index f93a38d58659e5cbbe4953c3682c241e66d0bffb..37a1074d2ddaeab160f6aa21bd83549ee172ad37 100644 (file)
@@ -2,11 +2,6 @@ name "ramoth"
 description "Master role applied to ramoth"
 
 default_attributes(
-  :accounts => {
-    :users => {
-      :osmbackup => { :status => :role }
-    }
-  },
   :db => {
     :cluster => "9.1/main"
   },
@@ -32,6 +27,9 @@ default_attributes(
       }
     }
   },
+  :hardware => {
+    :watchdog => "w83627hf_wdt"
+  },
   :networking => {
     :interfaces => {
       :internal_ipv4 => {
@@ -56,16 +54,15 @@ default_attributes(
   :sysctl => {
     :postgres => {
       :comment => "Increase shared memory for postgres",
-      :parameters => { 
+      :parameters => {
         "kernel.shmmax" => 66 * 1024 * 1024 * 1024,
         "kernel.shmall" => 66 * 1024 * 1024 * 1024 / 4096
       }
     }
   }
-);
+)
 
 run_list(
   "role[ic]",
-  "role[db-master]",
-  "role[db-backup]"
+  "role[db-slave]"
 )