X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b83f84ce0419a9f02c7f0f081287c515262cc624..45d2403bb1a4c58493bfa583ad0824b0ca6c1c04:/roles/db.rb diff --git a/roles/db.rb b/roles/db.rb index 47ab5cad9..670b745fd 100644 --- a/roles/db.rb +++ b/roles/db.rb @@ -6,24 +6,29 @@ default_attributes( :users => { :rails => { :status => :role, - :members => [ :tomh, :grant ] + :members => [:tomh, :grant] } } }, + :apt => { + :unattended_upgrades => { + :enable => false + } + }, :munin => { :plugins => { :postgres_connections_openstreetmap => { - :waiting => { + :waiting => { :warning => 10, :critical => 20 } }, :postgres_locks_openstreetmap => { - :accesssharelock => { + :accesssharelock => { :warning => 900, :critical => 1000 }, - :rowexclusivelock => { + :rowexclusivelock => { :warning => 250, :critical => 300 } @@ -34,7 +39,7 @@ default_attributes( "/store/rails" => { :host => "ironbelly", :path => "/store/rails" } }, :postgresql => { - :versions => [ "9.1" ], + :versions => ["9.1"], :settings => { :defaults => { :listen_addresses => "*",