X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f266b0defb68633232e9ba173118b09647940aa3..bdb0740403f851dfe9121638d9e0102507a633ec:/roles/web.rb diff --git a/roles/web.rb b/roles/web.rb index 04a52e80b..85e4e9821 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" + :memcached_servers => %w[rails1.ams rails2.ams rails3.ams] } ) run_list( - "recipe[nfs]" + "role[web-db]" )