]> git.openstreetmap.org Git - chef.git/blobdiff - roles/web.rb
Switch to readonly mode
[chef.git] / roles / web.rb
index 7e67d19603eacb0d93fe2a28294f230a0694f28a..7c27a9f24a61580383a0e38c379a9b6b57b83b07 100644 (file)
@@ -14,13 +14,12 @@ default_attributes(
     "/store/rails" => { :host => "ironbelly", :path => "/store/rails" }
   },
   :passenger => {
-    :version => 4,
     :pool_idle_time => 0
   },
   :web => {
-    :status => "online",
+    :status => "database_readonly",
     :database_host => "db",
-    :readonly_database_host => "db-slave"
+    :readonly_database_host => "db"
   }
 )