dgolja / golja-gnupg

Puppet module for managing GnuPG package and public keys
Apache License 2.0
13 stars 46 forks source link

Add gpg_home parameter to support setting --homedir on gpg command #28

Open ghost opened 6 years ago

ghost commented 6 years ago

When trying to use hiera-eyaml-gpg, I did not see a valid way to set the --homedir option for the gpg command to use the keyring stored in $confdir/keys/gpg so that I could import public keys to puppet servers using hiera-eyaml-gpg.

This adds a new parameter for gpg_home that sets --homedir for gpg commands, only if the parameter has a value. The existing behavior is used if gpg_home has no value.

mjburling commented 6 years ago

👍

@dgolja – thanks very much for this module, it's badly needed. Is there anything we can do to see this merged in shortly?

Thanks again!