From: Grant Slater Date: Fri, 7 Mar 2014 08:25:12 +0000 (+0000) Subject: apt: add support for elasticsearch repo X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/8bf2492a0108fb1a9356bc9c9e328c96581b417f apt: add support for elasticsearch repo --- diff --git a/cookbooks/apt/recipes/default.rb b/cookbooks/apt/recipes/default.rb index a8e41cc0f..d9a4a63f5 100644 --- a/cookbooks/apt/recipes/default.rb +++ b/cookbooks/apt/recipes/default.rb @@ -115,3 +115,9 @@ apt_source "nginx" do url "http://nginx.org/packages/ubuntu" key "7BD9BF62" end + +apt_source "elasticsearch" do + template "elasticsearch.list.erb" + url "http://packages.elasticsearch.org/elasticsearch/1.0/debian" + key "D88E42B4" +end diff --git a/cookbooks/apt/templates/default/elasticsearch.list.erb b/cookbooks/apt/templates/default/elasticsearch.list.erb new file mode 100644 index 000000000..d78b447d5 --- /dev/null +++ b/cookbooks/apt/templates/default/elasticsearch.list.erb @@ -0,0 +1,3 @@ +# DO NOT EDIT - This file is being maintained by Chef + +deb <%= @url %> stable main