]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/recipes/default.rb
Disable osmadmins PPA for Ubuntu 22.04
[chef.git] / cookbooks / apt / recipes / default.rb
index 1a8eb60c7c2cedde2ea59e01b5e334fa493af840..f0a2c28915d77640584c357a38d61ef0c998d65e 100644 (file)
@@ -86,6 +86,7 @@ end
 apt_repository "openstreetmap" do
   action repository_actions["openstreetmap"]
   uri "ppa:osmadmins/ppa"
+  only_if { node[:lsb][:release].to_f < 22.04 }
 end
 
 apt_repository "management-component-pack" do