X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/261e7e9cd1a9882faa4ed7087b5902ebafe25988..b0cff008c5d80c4c80b5bdba555d27f6c048932d:/cookbooks/apt/recipes/default.rb diff --git a/cookbooks/apt/recipes/default.rb b/cookbooks/apt/recipes/default.rb index a8e41cc0f..1b48ddfda 100644 --- a/cookbooks/apt/recipes/default.rb +++ b/cookbooks/apt/recipes/default.rb @@ -37,12 +37,6 @@ template "/etc/apt/sources.list" do notifies :run, "execute[apt-update]" end -apt_source "opscode" do - template "opscode.list.erb" - url "http://apt.opscode.com/" - key "83EF826A" -end - apt_source "brightbox" do url "http://apt.brightbox.net/" key "0090DAAD" @@ -78,14 +72,11 @@ apt_source "brianmercer-php" do key "8D0DC64F" end -apt_source "aw-drupal" do - url "http://ppa.launchpad.net/aw/drupal/ubuntu" - key "7D5AE8F6" -end - -apt_source "openstreetmap" do - url "http://ppa.launchpad.net/osmadmins/ppa/ubuntu" - key "0AC4F2CB" +if node[:lsb][:release].to_f < 14.04 + apt_source "openstreetmap" do + url "http://ppa.launchpad.net/osmadmins/ppa/ubuntu" + key "0AC4F2CB" + end end apt_source "proliant-support-pack" do @@ -101,6 +92,7 @@ apt_source "management-component-pack" do end apt_source "hwraid" do + template "hwraid.list.erb" url "http://hwraid.le-vert.net/ubuntu" key "23B3D3B4" end @@ -115,3 +107,14 @@ 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 + +apt_source "passenger" do + url "https://oss-binaries.phusionpassenger.com/apt/passenger" + key "AC40B2F7" +end