]> git.openstreetmap.org Git - chef.git/blobdiff - roles/web.rb
Switch site to readonly mode on ramoth
[chef.git] / roles / web.rb
index f8c457c093e2cea3fdfc8a6de968a7f5581e0217..a665c462d436a5ed592f4b9478f02580b7b34c40 100644 (file)
@@ -6,7 +6,7 @@ default_attributes(
     :users => {
       :rails => {
         :status => :role,
-        :members => [ :tomh, :grant ]
+        :members => [:tomh, :grant]
       }
     }
   },
@@ -17,9 +17,9 @@ default_attributes(
     :pool_idle_time => 0
   },
   :web => {
-    :status => "database_offline",
-    :database_host => "db",
-    :readonly_database_host => "katla"
+    :status => "database_readonly",
+    :database_host => "db-slave",
+    :readonly_database_host => "db-slave"
   }
 )