X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/df9f861030a739bbe749d410244aec8d46bf7d73..b8627fd624fca05dd6c11d9049399f9c5efdf842:/roles/smaug.rb?ds=sidebyside diff --git a/roles/smaug.rb b/roles/smaug.rb index 122c4d314..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,12 +64,12 @@ 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]",