Re: [Puppet Users] Installing Jenkins with Puppet fails to import GPG key

2012-05-23 Thread Denmat
Well dug Dan :) On 24/05/2012, at 3:27, Dan Carley wrote: > On 27 April 2012 06:15, denmat wrote: > Normally what happens is that if it is 'assumed yes', yum will > automatically accept the public key via the url - I don't know why > Jenkins is different - but it appears to install a new repo f

Re: [Puppet Users] Installing Jenkins with Puppet fails to import GPG key

2012-05-23 Thread Dan Carley
On 27 April 2012 06:15, denmat wrote: > > Normally what happens is that if it is 'assumed yes', yum will > automatically accept the public key via the url - I don't know why > Jenkins is different - but it appears to install a new repo file and > try to import the pubkey again on install - maybe t

Re: [Puppet Users] Installing Jenkins with Puppet fails to import GPG key

2012-04-30 Thread R. Tyler Croy
On Fri, 27 Apr 2012, denmat wrote: > Well, the good news is you're not crazy :) > > I loaded up a 5.7 instance and puppet 2.7.9+ and got the same result as you! > > I did a yum update and got the same issue - so it is not a common > issue that is already fixed. > > I did a manual rpm --import

Re: [Puppet Users] Installing Jenkins with Puppet fails to import GPG key

2012-04-29 Thread Michael Harris
On Friday, 27 April 2012 15:15:34 UTC+10, denmat wrote: > > Well, the good news is you're not crazy :) > At least, this isn't evidence that I'm crazy, but I still could be :) Thanks for following up, and offering an alternative, I appreciate it. -- You received this message because you are su

Re: [Puppet Users] Installing Jenkins with Puppet fails to import GPG key

2012-04-26 Thread denmat
Well, the good news is you're not crazy :) I loaded up a 5.7 instance and puppet 2.7.9+ and got the same result as you! I did a yum update and got the same issue - so it is not a common issue that is already fixed. I did a manual rpm --import of the key and the subsequent yum install worked. It

Re: [Puppet Users] Installing Jenkins with Puppet fails to import GPG key

2012-04-26 Thread Michael Harris
The following manifest results in the jenkins and epel repos being installed, rpm -qa gpg-pub* shows the epel key but not the jenkins key, and git is installed but not jenkins. class jenkins { yumrepo {"jenkins": baseurl => "http://pkg.jenkins-ci.org/redhat";, desc

Re: [Puppet Users] Installing Jenkins with Puppet fails to import GPG key

2012-04-26 Thread Michael Harris
On Thursday, 26 April 2012 18:33:18 UTC+10, denmat wrote: > > 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", >

Re: [Puppet Users] Installing Jenkins with Puppet fails to import GPG key

2012-04-26 Thread denmat
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

Re: [Puppet Users] Installing Jenkins with Puppet fails to import GPG key

2012-04-26 Thread Michael Harris
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", > enabl

Re: [Puppet Users] Installing Jenkins with Puppet fails to import GPG key

2012-04-25 Thread Denmat
Hi, 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://pk

[Puppet Users] Installing Jenkins with Puppet fails to import GPG key

2012-04-25 Thread Michael Harris
I've asked this question over on serverfault, but had no response. I'm trying to install Jenkins with Puppet using the manifests below. # init.pp class jenkins { include je