X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/932f7a837e84c5c29fd8429a574dd7aea5314b0a..89e79e81b8da8ec51cf058e4877a749031477d92:/roles/smaug.rb diff --git a/roles/smaug.rb b/roles/smaug.rb index 9c6d33b05..87daf4d8a 100644 --- a/roles/smaug.rb +++ b/roles/smaug.rb @@ -8,7 +8,7 @@ default_attributes( } }, :apt => { - :sources => [ "brightbox-ruby-ng" ] + :sources => ["brightbox-ruby-ng"] }, :db => { :cluster => "9.1/main" @@ -22,7 +22,7 @@ default_attributes( }, :sensors_volt => { :contacts => "null", - :volt10 => { + :volt10 => { :warning => "3.11:3.50", :critical => "2.98:3.63" } @@ -52,11 +52,11 @@ default_attributes( :sysctl => { :postgres => { :comment => "Increase shared memory for postgres", - :parameters => { + :parameters => { "kernel.shmmax" => 17 * 1024 * 1024 * 1024, "kernel.shmall" => 17 * 1024 * 1024 * 1024 / 4096 } - }, + } }, :sysfs => { :hdd_tune => { @@ -64,15 +64,14 @@ default_attributes( :parameters => { "block/sda/queue/nr_requests" => "512", "block/sdb/queue/nr_requests" => "512", - "block/sda/queue/scheduler" => "noop", - "block/sdb/queue/scheduler" => "noop" + "block/sda/queue/scheduler" => "noop", + "block/sdb/queue/scheduler" => "noop" } } } -); +) run_list( "role[ic]", - "role[db-slave]", - "role[planetdump]" + "role[db-slave]" )