X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3d1c9420c460bb34604bceb67dc7e2dd7bebca6d..e9d331bcbf78a99c7242fa275425dd8e20adea46:/roles/web.rb diff --git a/roles/web.rb b/roles/web.rb index ea0684f16..3276e43e4 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -6,23 +6,22 @@ default_attributes( :users => { :rails => { :status => :role, - :members => [ :tomh, :grant ] + :members => [:tomh, :grant] } } }, - :nfs => { - "/store/rails" => { :host => "ironbelly", :path => "/store/rails" } + :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[rails1.ams rails2.ams rails3.ams] } ) run_list( - "recipe[nfs]" + "role[web-db]" )