]> git.openstreetmap.org Git - chef.git/commitdiff
Switch site to readonly mode on ramoth
authorTom Hughes <tom@compton.nu>
Mon, 27 Jul 2015 12:38:40 +0000 (13:38 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 27 Jul 2015 12:38:40 +0000 (13:38 +0100)
roles/web.rb

index 69b6a45d24bded98f47930d13a7c88f7825a540b..a665c462d436a5ed592f4b9478f02580b7b34c40 100644 (file)
@@ -17,8 +17,8 @@ default_attributes(
     :pool_idle_time => 0
   },
   :web => {
-    :status => "online",
-    :database_host => "db",
+    :status => "database_readonly",
+    :database_host => "db-slave",
     :readonly_database_host => "db-slave"
   }
 )