]> git.openstreetmap.org Git - chef.git/blobdiff - roles/foundation.rb
Configure elasticsearch servers
[chef.git] / roles / foundation.rb
index cc80f3dfe9b2d0d339c40378dae8792d7c9153d8..b19ebfc3cced265a20a80538997a344681bb8a26 100644 (file)
@@ -8,7 +8,12 @@ default_attributes(
     :keepalive => false
   },
   :apt => {
-    :sources => [ "brightbox", "aw-drupal" ]
+    :sources => ["passenger"]
+  },
+  :elasticsearch => {
+    :cluster => {
+      :name => "foundation"
+    }
   },
   :memcached => {
     :memory_limit => 400,
@@ -18,6 +23,8 @@ default_attributes(
 )
 
 run_list(
-  "recipe[mediawiki]",
-  "recipe[civicrm]"
+  "role[crm]",
+  "role[elasticsearch]",
+  "recipe[foundation::wiki]",
+  "recipe[foundation::board]"
 )