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
Can someone help me with a Ruby custom function ?
I figured out how to run the gpg command but now I need to take the output and do some string tinkering to return an array of gpg-pubkeys.
I know WHAT I want to do, just not HOW to dood it.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
yum::gpgkey { '/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release':
ensure => present,
source => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release',
}
rpm -e gpg-pubkey-2fa658e0
puppet agent -t
What are you seeing
The key is NOT replaced because the manifest only looks for the first key (head -1)
What behaviour did you expect instead
All keys in the file should be checked.
The text was updated successfully, but these errors were encountered: