]> git.openstreetmap.org Git - chef.git/blobdiff - roles/web.rb
Switch to readonly mode
[chef.git] / roles / web.rb
index 1e8c2666b9ef2364a547f4c3fdc4f4e89ff958dc..7c27a9f24a61580383a0e38c379a9b6b57b83b07 100644 (file)
@@ -6,19 +6,20 @@ default_attributes(
     :users => {
       :rails => {
         :status => :role,
-        :members => [ :tomh, :grant ]
+        :members => [:tomh, :grant]
       }
     }
   },
-  :apt => {
-    :sources => [ "brightbox-ruby-ng" ]
-  },
   :nfs => {
-    "/store/rails" => { :host => "horntail", :path => "/store/rails" }
+    "/store/rails" => { :host => "ironbelly", :path => "/store/rails" }
+  },
+  :passenger => {
+    :pool_idle_time => 0
   },
   :web => {
-    :status => "online",
-    :database_host => "db"
+    :status => "database_readonly",
+    :database_host => "db",
+    :readonly_database_host => "db"
   }
 )