]> 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, 9 May 2016 07:35:54 +0000 (08:35 +0100)
roles/web.rb

index 26e1734947a0885da17a89f86bc32c8fc35818cc..fdc96a64cac01a5eb1b909f6e4a0bca8c3f8c03d 100644 (file)
@@ -14,8 +14,8 @@ default_attributes(
     :pool_idle_time => 0
   },
   :web => {
     :pool_idle_time => 0
   },
   :web => {
-    :status => "online",
-    :database_host => "db",
+    :status => "database_readonly",
+    :database_host => "db-slave",
     :readonly_database_host => "db-slave"
   }
 )
     :readonly_database_host => "db-slave"
   }
 )