Added EPEL repository for missing packages
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
class openstack::mirantis_repos (
|
||||
$type = 'external',
|
||||
$enable_epel = false
|
||||
$enable_epel = true
|
||||
) {
|
||||
case $::osfamily {
|
||||
'Debian': {
|
||||
@@ -33,14 +33,22 @@ class openstack::mirantis_repos (
|
||||
}
|
||||
|
||||
if $enable_epel {
|
||||
yumrepo { 'epel-testing':
|
||||
descr => 'Extra Packages for Enterprise Linux 6 - Testing - $basearch',
|
||||
mirrorlist => 'https://mirrors.fedoraproject.org/metalink?repo=testing-epel6&arch=$basearch',
|
||||
Yumrepo {
|
||||
failovermethod => 'priority',
|
||||
gpgkey => 'http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6',
|
||||
gpgcheck => 1,
|
||||
enabled => 1,
|
||||
}
|
||||
|
||||
yumrepo { 'epel-testing':
|
||||
descr => 'Extra Packages for Enterprise Linux 6 - Testing - $basearch',
|
||||
mirrorlist => 'http://mirrors.fedoraproject.org/metalink?repo=testing-epel6&arch=$basearch',
|
||||
}
|
||||
|
||||
yumrepo { 'epel':
|
||||
descr => 'Extra Packages for Enterprise Linux 6 - $basearch',
|
||||
mirrorlist => 'http://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch',
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user