X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/3ee8d7a32363483535b21a38e56002189f56b5b6..d1431acb11401014ee807cb1c1c2793136c8e25d:/cookbooks/elasticsearch/attributes/default.rb diff --git a/cookbooks/elasticsearch/attributes/default.rb b/cookbooks/elasticsearch/attributes/default.rb index d3f6707c2..a2a643412 100644 --- a/cookbooks/elasticsearch/attributes/default.rb +++ b/cookbooks/elasticsearch/attributes/default.rb @@ -1,4 +1,7 @@ +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][:script][:disable_dynamic] = true +default[:elasticsearch][:cluster][:routing][:allocation][:disk][:watermark][:flood_stage] = "95%" default[:elasticsearch][:path][:data] = "/var/lib/elasticsearch" + +default[:apt][:sources] |= ["elasticsearch#{node[:elasticsearch][:version]}"]