X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8a91485750044e1a2371ac2623247354893a84f4..5bbd5c61e87d45a7cc52debe8e6ee77e6deb7a2a:/roles/web.rb diff --git a/roles/web.rb b/roles/web.rb index f1ecaac8c..85e4e9821 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 => "ramoth.ic.openstreetmap.org", - :readonly_database_host => "ramoth.ic.openstreetmap.org" + :status => "online", + :memcached_servers => %w[rails1.ams rails2.ams rails3.ams] } ) + +run_list( + "role[web-db]" +)