]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/elasticsearch/attributes/default.rb
apt: enable systemd backport in Debian
[chef.git] / cookbooks / elasticsearch / attributes / default.rb
index d9afa935b92ef3205a167ea7ba791cd33ea3bc9e..52f6b95990150821ebc0d5680225e4de0c7b2af2 100644 (file)
@@ -1 +1,6 @@
-default[:apt][:sources] |= [ "elasticsearch" ]
+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"