]> git.openstreetmap.org Git - chef.git/blobdiff - roles/foundation.rb
Enable dynamic scripting for wiki search servers
[chef.git] / roles / foundation.rb
index 2add69e2e841696f7596d17a28b538291ee7acd4..52c38f765ea09cb24324856678bf08b19a93f078 100644 (file)
@@ -8,7 +8,15 @@ default_attributes(
     :keepalive => false
   },
   :apt => {
-    :sources => [ "passenger" ]
+    :sources => ["passenger"]
+  },
+  :elasticsearch => {
+    :cluster => {
+      :name => "foundation"
+    },
+    :script => {
+      :disable_dynamic => false
+    }
   },
   :memcached => {
     :memory_limit => 400,
@@ -19,5 +27,7 @@ default_attributes(
 
 run_list(
   "role[crm]",
-  "recipe[foundation::wiki]"
+  "role[elasticsearch]",
+  "recipe[foundation::wiki]",
+  "recipe[foundation::board]"
 )