]> git.openstreetmap.org Git - chef.git/commitdiff
Revert "Switch site to readonly mode on ramoth"
authorTom Hughes <tom@compton.nu>
Mon, 27 Jul 2015 13:08:50 +0000 (14:08 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 27 Jul 2015 13:08:50 +0000 (14:08 +0100)
This reverts commit b7ef775848df23afe2d99f4f09fa04189190a5f7.

roles/web.rb

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