X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..2a3be76929b0a86a7cf206c3aef5151dfa2c2e5d:/roles/owl.rb diff --git a/roles/owl.rb b/roles/owl.rb index 36301c01b..08d7b2f87 100644 --- a/roles/owl.rb +++ b/roles/owl.rb @@ -8,12 +8,12 @@ default_attributes( :ppawel => { :status => :user }, :owl => { :status => :role, - :members => [ :yellowbkpk, :ppawel ] - }, + :members => [:yellowbkpk, :ppawel] + } }, :groups => { :adm => { - :members => [ :yellowbkpk, :ppawel ] + :members => [:yellowbkpk, :ppawel] } } }, @@ -21,14 +21,15 @@ default_attributes( :mpm => "event" }, :apt => { - :sources => [ "brightbox-ruby-ng", "ubuntugis-stable", "ubuntugis-unstable" ] + :sources => ["brightbox-ruby-ng", "ubuntugis-stable", "ubuntugis-unstable"] }, :postgresql => { - :versions => [ "9.1" ], + :versions => ["9.1"], :settings => { :defaults => { :fsync => "off", :checkpoint_segments => "30", + :max_wal_size => "1440MB", :checkpoint_completion_target => "0.9", :random_page_cost => "2.0", :log_min_duration_statement => "3000" @@ -41,7 +42,7 @@ default_attributes( :sysctl => { :postgres => { :comment => "Increase shared memory for postgres", - :parameters => { + :parameters => { "kernel.shmmax" => 16 * 1024 * 1024 * 1024, "kernel.shmall" => 16 * 1024 * 1024 * 1024 / 4096 }