X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c42714218aaaaebdcb48e65d9b1a4280ee8397b9..dc7c507259804d72756728eb28fadd84adb87ff6:/roles/web.rb?ds=sidebyside diff --git a/roles/web.rb b/roles/web.rb index fdc96a64c..dce003b3d 100644 --- a/roles/web.rb +++ b/roles/web.rb @@ -14,8 +14,11 @@ default_attributes( :pool_idle_time => 0 }, :web => { - :status => "database_readonly", - :database_host => "db-slave", - :readonly_database_host => "db-slave" + :status => "online", + :memcached_servers => %w(rails1.ic rails2.ic rails3.ic) } ) + +run_list( + "role[web-db]" +)