From a040a379c89649bc38b9513d095de1d3b1ea536e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 7 Jun 2018 15:02:46 +0100 Subject: [PATCH] Don't require gnupg-curl on Ubuntu 18.04 --- cookbooks/apt/recipes/default.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cookbooks/apt/recipes/default.rb b/cookbooks/apt/recipes/default.rb index 3cc26880e..24b425e8a 100644 --- a/cookbooks/apt/recipes/default.rb +++ b/cookbooks/apt/recipes/default.rb @@ -20,10 +20,13 @@ 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 -- 2.39.5