]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/recipes/default.rb
Don't define osmadmins PPA on 14.04
[chef.git] / cookbooks / apt / recipes / default.rb
index c004043ef9c7068dfe498f6a6c87d7bbb6555c0e..dea088bb66a8b48263fe19788da8b96a9c534121 100644 (file)
@@ -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,9 +72,11 @@ apt_source "brianmercer-php" do
   key "8D0DC64F"
 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