Revision 359a604f
Added by Ivan Necas about 10 years ago
modules/foreman/manifests/install/repos/extra.pp | ||
---|---|---|
if $configure_scl_repo {
|
||
case $::operatingsystem {
|
||
CentOS: {
|
||
yumrepo { 'SCL':
|
||
descr => 'CentOS Software Collections',
|
||
baseurl => 'http://mirror.centos.org/centos/$releasever/SCL/$basearch/',
|
||
enabled => 1,
|
||
gpgcheck => 1,
|
||
gpgkey => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-${osreleasemajor}",
|
||
package {'centos-release-SCL':
|
||
ensure => installed,
|
||
}
|
||
}
|
||
Scientific: {
|
Also available in: Unified diff
Update puppet modules