]> git.openstreetmap.org Git - chef.git/blobdiff - roles/foundation.rb
Use smartd as the service name on 16.04
[chef.git] / roles / foundation.rb
index 2add69e2e841696f7596d17a28b538291ee7acd4..4926edeb2e59fbdd990c471fc92f9f5a6613ba30 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,8 @@ default_attributes(
 
 run_list(
   "role[crm]",
-  "recipe[foundation::wiki]"
+  "role[elasticsearch]",
+  "recipe[foundation::wiki]",
+  "recipe[foundation::board]",
+  "recipe[foundation::dwg]"
 )