X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/a5a304af4155b480952d2b39de82d9050e443f46..535456508231fd5fd5e4c3d6671cb7a018b39771:/roles/web.rb diff --git a/roles/web.rb b/roles/web.rb index a27a94a6a..a3bcbc9b3 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -6,22 +6,19 @@ default_attributes( :users => { :rails => { :status => :role, - :members => [ :tomh, :grant ] + :members => [:tomh, :grant] } } }, - :apt => { - :sources => [ "brightbox-ruby-ng" ] - }, - :nfs => { - "/store/rails" => { :host => "ironbelly", :path => "/store/rails" } + :passenger => { + :pool_idle_time => 3600 }, :web => { - :status => "database_readonly", - :database_host => "smaug" + :status => "online", + :memcached_servers => %w[rails1.ams rails2.ams rails3.ams] } ) run_list( - "recipe[nfs]" + "role[web-db]" )