]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/recipes/default.rb
Update chef client to 12.21.26
[chef.git] / cookbooks / apt / recipes / default.rb
index 06edb02a05afdece6beb2b4e68cb6dd106329066..508030bf2bde17d743004aba693cd58783d51255 100644 (file)
 # limitations under the License.
 #
 
-package "apt"
-package "gnupg-curl"
-package "update-notifier-common"
+package %w[
+  apt
+  gnupg-curl
+  update-notifier-common
+]
 
 file "/etc/motd.tail" do
   action :delete
@@ -108,6 +110,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"