X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/75f4f224fbe305d36c223c2fb03e285a49c1d3a7..524d90d022751710980613df6b943291fc1498d6:/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb diff --git a/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb b/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb index 9f5c95bc9..d32ce2bfc 100644 --- a/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb +++ b/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb @@ -1,4 +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 +path.data: <%= node[:elasticsearch][:path][:data] %> +path.logs: /var/log/elasticsearch