Skip to content

Commit

Permalink
removed GPG key for RPM's, retrieve current GPG key via yumrepo provi…
Browse files Browse the repository at this point in the history
…der.
  • Loading branch information
Matthew Barr committed Dec 31, 2012
1 parent e97e7d4 commit 55794c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 120 deletions.
9 changes: 1 addition & 8 deletions manifests/repo/el.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,7 @@
descr => 'Jenkins',
baseurl => 'http://pkg.jenkins-ci.org/redhat/',
gpgcheck => 1,
}
file { '/etc/yum/jenkins-ci.org.key':
content => template("${module_name}/jenkins-ci.org.key"),
}
exec { 'rpm --import /etc/yum/jenkins-ci.org.key':
path => '/bin:/usr/bin',
require => File['/etc/yum/jenkins-ci.org.key'],
unless => 'rpm -q gpg-pubkey-d50582e6-4a3feef6',
gpgkey => "http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key"
}
}

112 changes: 0 additions & 112 deletions templates/jenkins-ci.org.key

This file was deleted.

0 comments on commit 55794c5

Please sign in to comment.