]> git.openstreetmap.org Git - chef.git/commitdiff
Disable osmadmins PPA for Ubuntu 22.04
authorTom Hughes <tom@compton.nu>
Mon, 27 Jun 2022 08:54:11 +0000 (09:54 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 27 Jun 2022 08:54:11 +0000 (09:54 +0100)
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