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