]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb
Use backports for smartmontools on debian
[chef.git] / cookbooks / elasticsearch / templates / default / elasticsearch.yml.erb
index 984fb1e85ac4d3c7e60cef2d130f4b37c67d28be..d32ce2bfcbcd870519dcac6d964b53c324d0332f 100644 (file)
@@ -1,5 +1,11 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 cluster.name: <%= node[:elasticsearch][:cluster][:name] %>
+cluster.routing.allocation.disk.watermark.low: <%= node[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:low] %>
+cluster.routing.allocation.disk.watermark.high: <%= node[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:high] %>
+<% if node[:elasticsearch][:version] >= "6" -%>
+cluster.routing.allocation.disk.watermark.flood_stage: <%= node[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:flood_stage] %>
+<% end -%>
 network.host: 127.0.0.1
-script.disable_dynamic: <%= node[:elasticsearch][:script][:disable_dynamic] -%>
+path.data: <%= node[:elasticsearch][:path][:data] %>
+path.logs: /var/log/elasticsearch