Correct URL for elasticsearch 5.x repository
[chef.git] / cookbooks / apt / recipes / default.rb
index 06edb02a05afdece6beb2b4e68cb6dd106329066..1de8cffe24d6b36d9d85859cc248b73718f9c032 100644 (file)
@@ -108,6 +108,12 @@ apt_source "elasticsearch2.x" do
   key "D27D666CD88E42B4"
 end
 
+apt_source "elasticsearch5.x" do
+  source_template "elasticsearch.list.erb"
+  url "https://artifacts.elastic.co/packages/5.x/apt"
+  key "D27D666CD88E42B4"
+end
+
 apt_source "logstash" do
   source_template "elasticsearch.list.erb"
   url "http://packages.elasticsearch.org/logstash/2.3/debian"