X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a5a304af4155b480952d2b39de82d9050e443f46..a2b9bd4dfa96e6919647b168c6fb857af839ced2:/roles/web.rb?ds=sidebyside diff --git a/roles/web.rb b/roles/web.rb index a27a94a6a..ec6ca9b8e 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[rails4.bm rails5.bm] } ) run_list( - "recipe[nfs]" + "role[web-db]" )