X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/13f8835f70746c764e25dfd76a285302233e5136..d0f9d158f91ee627fee991b9ccaeb2a44dfc909a:/cookbooks/apt/recipes/default.rb diff --git a/cookbooks/apt/recipes/default.rb b/cookbooks/apt/recipes/default.rb index 65f625a0b..d9a4a63f5 100644 --- a/cookbooks/apt/recipes/default.rb +++ b/cookbooks/apt/recipes/default.rb @@ -34,7 +34,7 @@ template "/etc/apt/sources.list" do owner "root" group "root" mode 0644 - notifies :run, resources(:execute => "apt-update") + notifies :run, "execute[apt-update]" end apt_source "opscode" do @@ -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