X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/21958591555b0b80370e944e3128ac5d533c281d..0d8d48c4cfef9d322acd5ca0a763a05717c47e4a:/cookbooks/elasticsearch/attributes/default.rb?ds=inline diff --git a/cookbooks/elasticsearch/attributes/default.rb b/cookbooks/elasticsearch/attributes/default.rb index e5e5c3553..52f6b9599 100644 --- a/cookbooks/elasticsearch/attributes/default.rb +++ b/cookbooks/elasticsearch/attributes/default.rb @@ -1 +1,6 @@ -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"