Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # == Class jenkins::install
- #
- # This class is called from jenkins for install.
- #
- class jenkins::package::redhat {
- file { 'RPM-GPG-KEY-JENKINS':
- ensure => file,
- owner => 'root',
- group => 'root',
- mode => 0644,
- source => "puppet:///modules/jenkins/etc/pki/rpm-gpg/RPM-GPG-KEY-JENKINS"
- }
- yumrepo { 'Jenkins':
- baseurl => 'http://pkg.jenkins-ci.org/redhat',
- descr => 'Offical Jenkins Repository',
- enabled => '1',
- gpgcheck => '1',
- gpgkey => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-JENKINS",
- require => File['RPM-GPG-KEY-JENKINS'],
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement