X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/932f7a837e84c5c29fd8429a574dd7aea5314b0a..2da39a05d8f58c223e6154fdfa82e2ebec06a251:/roles/smaug.rb?ds=sidebyside 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]" )