X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c2623e1ade43795e85f045d576495453b53f4a1f..3ca3648cc508007b01e59d61237569c854516197:/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb?ds=inline diff --git a/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb b/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb index 1df2ea50c..d32ce2bfc 100644 --- a/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb +++ b/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb @@ -1,6 +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] %> -script.disable_dynamic: <%= node[:elasticsearch][:script][:disable_dynamic] -%> +path.logs: /var/log/elasticsearch