X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e1bad7cf91c5b6ac6b435d2489b55ab86b165d9a..968ffb7b7c28a0673554aba399ec55549dc6a41c:/roles/web.rb diff --git a/roles/web.rb b/roles/web.rb index 04a52e80b..b0d9d4b99 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -5,24 +5,22 @@ default_attributes( :accounts => { :users => { :rails => { - :status => :role, - :members => [ :tomh, :grant ] + :members => [:tomh, :grant] } } }, - :apt => { - :sources => [ "brightbox-ruby-ng" ] + :exim => { + :trusted_users => ["rails"] }, - :nfs => { - "/store/rails" => { :host => "ironbelly", :path => "/store/rails" } + :passenger => { + :pool_idle_time => 3600 }, :web => { - :status => "online", - :database_host => "db", - :readonly_database_host => "katla" + :status => "database_readonly", + :memcached_servers => %w[spike-06.ams spike-07.ams spike-08.ams] } ) run_list( - "recipe[nfs]" + "role[web-db]" )