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