Pass --nogpgcheck to yum via puppet
Posted
by
quickshiftin
on Server Fault
See other posts from Server Fault
or by quickshiftin
Published on 2013-10-02T18:49:32Z
Indexed on
2014/06/12
3:27 UTC
Read the original article
Hit count: 821
How would one get a --nogpgcheck
option to yum via puppet? I've tried
package { 'unsigned-package':
ensure => latest,
install_options => ['--nogpgcheck'],
}
and
package { 'unsigned-package':
ensure => latest,
install_options => ['nogpgcheck'],
}
but looking at the output from an agent run, yum isn't getting that option.
As an aside (and maybe the reason it's not working for me), how do I verify my puppet has the install_options feature?
I'm running puppet 3.3.0-rc2.
© Server Fault or respective owner