]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/elasticsearch/attributes/default.rb
Correct location for smaug
[chef.git] / cookbooks / elasticsearch / attributes / default.rb
index d3f6707c22f67b97e0cdddaff306698fd39216ff..45d59a2b58ac16f8fb4a169f7f33120b7379bdc7 100644 (file)
@@ -1,4 +1,7 @@
+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][:script][:disable_dynamic] = true
 default[:elasticsearch][:path][:data] = "/var/lib/elasticsearch"
 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][:path][:data] = "/var/lib/elasticsearch"
+
+default[:apt][:sources] |= ["elasticsearch#{node[:elasticsearch][:version]}"]