]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/elasticsearch/templates/default/elasticsearch.yml.erb
Update elasticsearch to 2.x on ridley
[chef.git] / cookbooks / elasticsearch / templates / default / elasticsearch.yml.erb
index f9d8ebf758f6b344f754532b36f00020eaacdfde..ea04ea99ace24a3ea8de811afd6954314256a83d 100644 (file)
@@ -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 -%>