X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3ee8d7a32363483535b21a38e56002189f56b5b6..e04617420b4bac3642d100626db7fbc939254d5c:/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 f9d8ebf75..ea04ea99a 100644 --- a/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb +++ b/cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb @@ -5,4 +5,6 @@ cluster.routing.allocation.disk.watermark.low: <%= node[:elasticsearch][:cluster cluster.routing.allocation.disk.watermark.high: <%= node[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:high] %> network.host: 127.0.0.1 path.data: <%= node[:elasticsearch][:path][:data] %> +<% if node[:elasticsearch][:script][:disable_dynamic] -%> script.disable_dynamic: <%= node[:elasticsearch][:script][:disable_dynamic] -%> +<% end -%>