Switch to readonly mode
authorTom Hughes <tom@compton.nu>
Wed, 4 May 2016 15:32:32 +0000 (16:32 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 4 May 2016 15:32:32 +0000 (16:32 +0100)
roles/web.rb

index 0f977232ff651b67061b60d55eed1fd6939700ee..7c27a9f24a61580383a0e38c379a9b6b57b83b07 100644 (file)
@@ -17,7 +17,7 @@ default_attributes(
     :pool_idle_time => 0
   },
   :web => {
-    :status => "online",
+    :status => "database_readonly",
     :database_host => "db",
     :readonly_database_host => "db"
   }