X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6437f10211bb33702e7bed9295e66777168e5330..4329ac4e4366dea4e26542e52c3f6c68b8e3a6f1:/cookbooks/elasticsearch/attributes/default.rb diff --git a/cookbooks/elasticsearch/attributes/default.rb b/cookbooks/elasticsearch/attributes/default.rb index 45d59a2b5..52f6b9599 100644 --- a/cookbooks/elasticsearch/attributes/default.rb +++ b/cookbooks/elasticsearch/attributes/default.rb @@ -1,7 +1,6 @@ -default[:elasticsearch][:version] = "1.7" +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][: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]}"]