Advertisement
Guest User

Untitled

a guest
Dec 1st, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. # == Class jenkins::install
  2. #
  3. # This class is called from jenkins for install.
  4. #
  5. class jenkins::package::redhat {
  6.  
  7. file { 'RPM-GPG-KEY-JENKINS':
  8. ensure => file,
  9. owner => 'root',
  10. group => 'root',
  11. mode => 0644,
  12. source => "puppet:///modules/jenkins/etc/pki/rpm-gpg/RPM-GPG-KEY-JENKINS"
  13. }
  14.  
  15. yumrepo { 'Jenkins':
  16. baseurl => 'http://pkg.jenkins-ci.org/redhat',
  17. descr => 'Offical Jenkins Repository',
  18. enabled => '1',
  19. gpgcheck => '1',
  20. gpgkey => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-JENKINS",
  21. require => File['RPM-GPG-KEY-JENKINS'],
  22. }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement