X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/137a1c06aac28bcc9ea64903bd071e9d378c94bb..867a767ee96c65b89179c9d53f8c7805173f3fa3:/cookbooks/elasticsearch/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/elasticsearch/attributes/default.rb b/cookbooks/elasticsearch/attributes/default.rb index fa72b698d..1de57c968 100644 --- a/cookbooks/elasticsearch/attributes/default.rb +++ b/cookbooks/elasticsearch/attributes/default.rb @@ -1 +1,8 @@ -default[:elasticsearch][:script][:disable_dynamic] = true +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" + +default[:apt][:sources] |= ["elasticsearch#{node[:elasticsearch][:version]}"]