Hi, I just spun up a fresh AWS instance and did this: $ cat puppet.repo.pp class jenkins {
yumrepo { "jenkins": baseurl => "http://pkg.jenkins-ci.org/redhat", descr => "Jenkins", enabled => 1, gpgcheck => 1, gpgkey => "http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key", } package {"jenkins": ensure => latest } } include jenkins $ sudo puppet apply puppet.repo.pp notice: /Stage[main]/Jenkins/Yumrepo[jenkins]/descr: descr changed '' to 'Jenkins' notice: /Stage[main]/Jenkins/Yumrepo[jenkins]/baseurl: baseurl changed '' to 'http://pkg.jenkins-ci.org/redhat' notice: /Stage[main]/Jenkins/Yumrepo[jenkins]/enabled: enabled changed '' to '1' notice: /Stage[main]/Jenkins/Yumrepo[jenkins]/gpgcheck: gpgcheck changed '' to '1' notice: /Stage[main]/Jenkins/Yumrepo[jenkins]/gpgkey: gpgkey changed '' to 'http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key' notice: /Stage[main]/Jenkins/Package[jenkins]/ensure: created notice: Finished catalog run in 10.20 seconds $ rpm -qa |grep jenkins jenkins-1.461-1.1.noarch That's what I meant. You shouldn't need to import the key as it should check against the public key in the url (if you where installing via rpm that might be different and will probably require the local import - haven't tested myself). Den On Thu, Apr 26, 2012 at 5:51 PM, Michael Harris <mich...@twofishcreative.com> wrote: > On Thursday, 26 April 2012 11:17:05 UTC+10, denmat wrote: >> >> >> The way that i import my keys is to set the gpg key for the yum repo like >> so: >> >> yumrepo { "jenkins": >> baseurl => "http://pkg.jenkins-ci.org/redhat", >> descr => "Jenkins", >> enabled => 1, >> gpgcheck => 1, >> gpgkey => >> "http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key", >> } >> >> Should take care of the import for you. > > > Cool, I didn't know I could specify a URL for the key, thanks. > > However, I get the same error and the key still fails to import. > > cheers, Michael > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/cI79Jc80xg0J. > > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.