X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8962cc576af87958ffe4ccc4d6c6baafca7cd8fd..fbd2eeccd3abcb91f206433ee9bdaed766e4c517:/roles/web.rb?ds=sidebyside diff --git a/roles/web.rb b/roles/web.rb index a57d2ec54..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 => "online", - :database_host => "katla.bm.openstreetmap.org", - :readonly_database_host => "ramoth.ic.openstreetmap.org" + :memcached_servers => %w[rails1.ams rails2.ams rails3.ams] } ) + +run_list( + "role[web-db]" +)