X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/99369bc9d234aa9cf9f73f1733c3362788c7ded3..d7fdbac2c8939e77252fe33f1c3b4aff47b0e2e7:/roles/ramoth.rb diff --git a/roles/ramoth.rb b/roles/ramoth.rb index 927c349a2..21c75a339 100644 --- a/roles/ramoth.rb +++ b/roles/ramoth.rb @@ -27,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 => { @@ -51,15 +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-slave]" )