X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/2ac0e59a7e95fc697d1673c11f8f2f0ce125f725..b7ef775848df23afe2d99f4f09fa04189190a5f7:/roles/web.rb diff --git a/roles/web.rb b/roles/web.rb index 7a6c8a6c1..a665c462d 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -6,19 +6,20 @@ default_attributes( :users => { :rails => { :status => :role, - :members => [ :tomh, :grant ] + :members => [:tomh, :grant] } } }, - :apt => { - :sources => [ "brightbox-ruby-ng" ] - }, :nfs => { "/store/rails" => { :host => "ironbelly", :path => "/store/rails" } }, + :passenger => { + :pool_idle_time => 0 + }, :web => { - :status => "online", - :database_host => "db" + :status => "database_readonly", + :database_host => "db-slave", + :readonly_database_host => "db-slave" } )