]> git.openstreetmap.org Git - chef.git/blobdiff - roles/web-frontend.rb
Remove role for longma
[chef.git] / roles / web-frontend.rb
index 5010e555dfaca959e8f53074231ada3efc929659..2a316491a07e6cbe1c37a54e90eb8fd3fdecae38 100644 (file)
@@ -21,6 +21,9 @@ default_attributes(
       ]
     }
   },
+  :memcached => {
+    :memory_limit => 4096
+  },
   :passenger => {
     :max_pool_size => 50
   },
@@ -34,7 +37,10 @@ default_attributes(
         :user => "rails",
         :group => "rails",
         :home_directory => "/srv/www.openstreetmap.org/rails",
-        :path => "/bin:/usr/bin:/usr/local/bin"
+        :path => "/bin:/usr/bin:/usr/local/bin",
+        :environment => {
+          "RAILS_ENV" => "production"
+        }
       }
     }
   }