X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/137a1c06aac28bcc9ea64903bd071e9d378c94bb..226773e8e4b1b7e0141c45e0040fa2cd4141282a:/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 984fb1e85..d32ce2bfc 100644 --- a/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb +++ b/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb @@ -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