X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..5024597e8fbf7cf262c7d0990296813fd3277696:/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]",