diff --git a/manifests/params.pp b/manifests/params.pp index c247f993..1fe60509 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -15,7 +15,7 @@ $key_server = 'hkp://keys.gnupg.net' # install the gpg key if gpg is installed or being installed in this puppet run - if defined(Class['::gnupg']) or $::gnupg_installed { + if defined(Class['::gnupg']) or $facts['gnupg_installed'] { $gnupg_key_id = 'D39DC0E3' } else { $gnupg_key_id = false