X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1ebbb9ef31e7495b255b828fcf8ea9ff988b1396..f351c6a2475050bcadfce28bdbe303eda9654059:/cookbooks/elasticsearch/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/elasticsearch/attributes/default.rb b/cookbooks/elasticsearch/attributes/default.rb index d9afa935b..1de57c968 100644 --- a/cookbooks/elasticsearch/attributes/default.rb +++ b/cookbooks/elasticsearch/attributes/default.rb @@ -1 +1,8 @@ -default[:apt][:sources] |= [ "elasticsearch" ] +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]}"]