From 5ec1dde3791f400dedeacecb4b7f7a23c23f8c03 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Wed, 16 Mar 2022 23:15:12 -0400 Subject: [PATCH] (MODULES-11301) Don't install gnupg if not needed apt::key has the needed ensure_packages() to bring gnupg only when needed. Signed-off-by: Simon Deziel --- manifests/init.pp | 3 --- 1 file changed, 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 2f82b7d8fd..7e4b4c981c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -361,7 +361,4 @@ if $pins { create_resources('apt::pin', $pins) } - - # required for adding GPG keys on Debian 9 (and derivatives) - ensure_packages(['gnupg']) }