]> git.openstreetmap.org Git - chef.git/blobdiff - roles/foundation.rb
Configure elasticsearch servers
[chef.git] / roles / foundation.rb
index 2add69e2e841696f7596d17a28b538291ee7acd4..b19ebfc3cced265a20a80538997a344681bb8a26 100644 (file)
@@ -8,7 +8,12 @@ default_attributes(
     :keepalive => false
   },
   :apt => {
-    :sources => [ "passenger" ]
+    :sources => ["passenger"]
+  },
+  :elasticsearch => {
+    :cluster => {
+      :name => "foundation"
+    }
   },
   :memcached => {
     :memory_limit => 400,
@@ -19,5 +24,7 @@ default_attributes(
 
 run_list(
   "role[crm]",
-  "recipe[foundation::wiki]"
+  "role[elasticsearch]",
+  "recipe[foundation::wiki]",
+  "recipe[foundation::board]"
 )