X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5601a966ab8dec4c589ff5507bda66b6f599fe27..6437f10211bb33702e7bed9295e66777168e5330:/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 -%>