Closed edestecd closed 9 years ago
will the fact be true in a server that doesn't have gpg installed but is installing it in the same puppet run? I had that issue before
@carlossg you are correct it will not work if you want to install gpg and the key in one install. If you want to only install the key if gpg is installed, you would need to make your condition this fact or class { '::gnupg': } is defined.
if defined(Class['::gnupg']) or $::gnupg_installed {
gnupg_key { 'name': }
}
+1
sorry i though that at the end we didnt need this feature, but sure if you need it I can release the new module this weekend.
@n1tr0g This would be necessary for ease of use, could you release?
no worries ... I will release is today/tomorrow.
This adds two facts. One indicates the exe path for gpg, if installed. The other indicates if gpg is installed.