]> git.openstreetmap.org Git - chef.git/blobdiff - roles/foundation.rb
Update elasticsearch to 2.x on ridley
[chef.git] / roles / foundation.rb
index e02b7d3e2631644ade1680e3496b5efa03041197..22f8dc3eb0f52ee170fc21cf9254b6a0168bdb7e 100644 (file)
@@ -8,7 +8,16 @@ default_attributes(
     :keepalive => false
   },
   :apt => {
-    :sources => [ "brightbox" ]
+    :sources => ["passenger", "brightbox-ruby-ng"]
+  },
+  :elasticsearch => {
+    :version => "2.x",
+    :cluster => {
+      :name => "foundation"
+    },
+    :script => {
+      :disable_dynamic => false
+    }
   },
   :memcached => {
     :memory_limit => 400,
@@ -18,5 +27,10 @@ default_attributes(
 )
 
 run_list(
-  "role[crm]"
+  "role[crm]",
+  "role[elasticsearch]",
+  "recipe[foundation::wiki]",
+  "recipe[foundation::board]",
+  "recipe[foundation::dwg]",
+  "recipe[foundation::owg]"
 )