Update elasticsearch to 5.x on ridley
authorTom Hughes <tom@compton.nu>
Thu, 9 Nov 2017 19:44:34 +0000 (19:44 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 9 Nov 2017 19:44:34 +0000 (19:44 +0000)
cookbooks/apt/recipes/default.rb
roles/foundation.rb

index 06edb02..b9f19ad 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 "http://packages.elasticsearch.org/elasticsearch/5.x/debian"
+  key "D27D666CD88E42B4"
+end
+
 apt_source "logstash" do
   source_template "elasticsearch.list.erb"
   url "http://packages.elasticsearch.org/logstash/2.3/debian"
index f306fe9..02b880d 100644 (file)
@@ -11,7 +11,7 @@ default_attributes(
     :sources => ["passenger", "brightbox-ruby-ng"]
   },
   :elasticsearch => {
-    :version => "2.x",
+    :version => "5.x",
     :cluster => {
       :name => "foundation"
     },