]> git.openstreetmap.org Git - chef.git/blobdiff - roles/ironbelly.rb
Configure elasticsearch disk thresholds on ironbelly
[chef.git] / roles / ironbelly.rb
index fb86c78f09e8d349428500cefda7860ac59d66c3..098568265d6a8eac79bc65202b6d0f236cf6bf4d 100644 (file)
@@ -5,6 +5,23 @@ default_attributes(
   :apt => {
     :sources => ["ubuntugis-unstable"]
   },
+  :elasticsearch => {
+    :cluster => {
+      :routing => {
+        :allocation => {
+          :disk => {
+            :watermark => {
+              :low => "95%",
+              :high => "98%"
+            }
+          }
+        }
+      }
+    },
+    :path => {
+      :data => "/store/elasticsearch"
+    }
+  },
   :git => {
     :allowed_nodes => "*:*",
     :user => "chefrepo",