]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/elasticsearch/attributes/default.rb
nginx: increase map hash bucket size
[chef.git] / cookbooks / elasticsearch / attributes / default.rb
index d9afa935b92ef3205a167ea7ba791cd33ea3bc9e..a2a643412d568305b6c98022938f9e93653e6c7d 100644 (file)
@@ -1 +1,7 @@
-default[:apt][:sources] |= [ "elasticsearch" ]
+default[:elasticsearch][:version] = "1.7"
+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]}"]