]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/elasticsearch/attributes/default.rb
Merge remote-tracking branch 'github/pull/447'
[chef.git] / cookbooks / elasticsearch / attributes / default.rb
index fa72b698da9182e8f5ae6ef33b148b177dcc564c..1de57c968b7eb6c4148fc96ddd9279dd256237df 100644 (file)
@@ -1 +1,8 @@
-default[:elasticsearch][:script][:disable_dynamic] = true
+default[:elasticsearch][:version] = "6.x"
+default[:elasticsearch][:cluster][:name] = "default"
+default[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:low] = "85%"
+default[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:high] = "90%"
+default[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:flood_stage] = "95%"
+default[:elasticsearch][:path][:data] = "/var/lib/elasticsearch"
+
+default[:apt][:sources] |= ["elasticsearch#{node[:elasticsearch][:version]}"]