]> git.openstreetmap.org Git - chef.git/blob - cookbooks/elasticsearch/attributes/default.rb
Don't configure a flood_stage watermark for elasticsearch 5.x
[chef.git] / cookbooks / elasticsearch / attributes / default.rb
1 default[:elasticsearch][:version] = "1.7"
2 default[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:low] = "85%"
3 default[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:high] = "90%"
4 default[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:flood_stage] = "95%"
5 default[:elasticsearch][:path][:data] = "/var/lib/elasticsearch"
6
7 default[:apt][:sources] |= ["elasticsearch#{node[:elasticsearch][:version]}"]