X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/15639458644993a98702f398045ac8005e3ff023..d2ea5b2a809f2f05b615b2ecc48322d744b733eb:/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 fa459e7ef..d32ce2bfc 100644 --- a/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb +++ b/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb @@ -3,7 +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] %> path.logs: /var/log/elasticsearch