]> git.openstreetmap.org Git - chef.git/commitdiff
Don't require gnupg-curl on Ubuntu 18.04
authorTom Hughes <tom@compton.nu>
Thu, 7 Jun 2018 14:02:46 +0000 (15:02 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 7 Jun 2018 14:02:46 +0000 (15:02 +0100)
cookbooks/apt/recipes/default.rb

index 3cc26880e1430eded3f3a461290c2e8129bf351e..24b425e8a47f4ea400a5f265bad691608018e27a 100644 (file)
 package %w[
   apt
   apt-transport-https
-  gnupg-curl
   update-notifier-common
 ]
 
+if node[:lsb][:release].to_f < 18.04
+  package "gnupg-curl"
+end
+
 file "/etc/motd.tail" do
   action :delete
 end