X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/e09a952838cef25511249a39ad8fbd203c29b9a2..cd3fe3c4915267c08ba333ec4b7280b4aa3e5729:/roles/web.rb?ds=sidebyside diff --git a/roles/web.rb b/roles/web.rb index 26e173494..3276e43e4 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -10,12 +10,18 @@ default_attributes( } } }, + :exim => { + :trusted_users => ["rails"] + }, :passenger => { - :pool_idle_time => 0 + :pool_idle_time => 3600 }, :web => { :status => "online", - :database_host => "db", - :readonly_database_host => "db-slave" + :memcached_servers => %w[rails1.ams rails2.ams rails3.ams] } ) + +run_list( + "role[web-db]" +)