X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/135c9671480af26ebe12b887d993a68471e02b07..a029e6fd4d59e67b1357911474ec9406352dfa71:/roles/ramoth.rb?ds=sidebyside diff --git a/roles/ramoth.rb b/roles/ramoth.rb index f93a38d58..21c75a339 100644 --- a/roles/ramoth.rb +++ b/roles/ramoth.rb @@ -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,19 @@ default_attributes( } } }, + :hardware => { + :watchdog => "w83627hf_wdt" + }, + :munin => { + :plugins => { + :smart_sg0_33 => { + :smartctl_exit_status => { :warning => ":8" } + }, + :smart_sg0_34 => { + :smartctl_exit_status => { :warning => ":8" } + } + } + }, :networking => { :interfaces => { :internal_ipv4 => { @@ -56,16 +64,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]" )