X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c42714218aaaaebdcb48e65d9b1a4280ee8397b9..9a44b9d826f560fef64b54924313e8e8b589ef5a:/roles/web.rb diff --git a/roles/web.rb b/roles/web.rb index fdc96a64c..a3bcbc9b3 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -11,11 +11,14 @@ default_attributes( } }, :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[rails1.ams rails2.ams rails3.ams] } ) + +run_list( + "role[web-db]" +)