You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the yum gpg keys start with something like '-----BEGIN PGP PUBLIC KEY BLOCK-----'
which gets knocked out by --knock-out-prefix "--" when hiera deep merges yum::gpgkeys set outside of the module.
This module works fine when I change --knock-out-prefix to a different value.
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 4.10
Ruby:
Distribution: EL7
Module version: 3.1
How to reproduce (e.g Puppet code you use)
add yum::gpgkey with defined content outside of module bundled hiera.
What are you seeing
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Missing params: $content or $source must be specified at /etc/puppetlabs/code/environments/production/modules/yum/manifests/gpgkey.pp:49:18
The text was updated successfully, but these errors were encountered:
I can confirm that this issue also applies to puppet 5.5.
Is the inclusion of a knockout prefix actually even relevant for yum::gpgkeys? I would suggest removing it as I'm having a hard time imagining where this would come in handy given the structure of the module.
Most of the yum gpg keys start with something like '-----BEGIN PGP PUBLIC KEY BLOCK-----'
which gets knocked out by --knock-out-prefix "--" when hiera deep merges yum::gpgkeys set outside of the module.
This module works fine when I change --knock-out-prefix to a different value.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
add yum::gpgkey with defined content outside of module bundled hiera.
What are you seeing
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Missing params: $content or $source must be specified at /etc/puppetlabs/code/environments/production/modules/yum/manifests/gpgkey.pp:49:18
The text was updated successfully, but these errors were encountered: