X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c42714218aaaaebdcb48e65d9b1a4280ee8397b9..c2ff078bfc6519fad2c741f04ef84fcf4f6530f3:/roles/web.rb?ds=sidebyside diff --git a/roles/web.rb b/roles/web.rb index fdc96a64c..594c18f84 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -5,17 +5,22 @@ default_attributes( :accounts => { :users => { :rails => { - :status => :role, :members => [:tomh, :grant] } } }, + :exim => { + :trusted_users => ["rails"] + }, :passenger => { - :pool_idle_time => 0 + :pool_idle_time => 3600 }, :web => { - :status => "database_readonly", - :database_host => "db-slave", - :readonly_database_host => "db-slave" + :status => "online", + :memcached_servers => %w[spike-06.ams spike-07.ams spike-08.ams] } ) + +run_list( + "role[web-db]" +)