]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb
serverinfo: Do not install gems as root
[chef.git] / cookbooks / elasticsearch / templates / default / elasticsearch.yml.erb
index f9d8ebf758f6b344f754532b36f00020eaacdfde..d32ce2bfcbcd870519dcac6d964b53c324d0332f 100644 (file)
@@ -3,6 +3,9 @@
 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
 path.data: <%= node[:elasticsearch][:path][:data] %>
-script.disable_dynamic: <%= node[:elasticsearch][:script][:disable_dynamic] -%>
+path.logs: /var/log/elasticsearch