Added support for EPEL Testing yum repository.
This commit is contained in:
parent
d9ed7a8cae
commit
e930b3c056
1 changed files with 20 additions and 1 deletions
|
@ -252,7 +252,7 @@ class yum::repo::epel {
|
|||
include yum::common
|
||||
|
||||
if $yum::common::osname != "el" {
|
||||
fail("EPEL repository not supported in ${operatingsystem}")
|
||||
fail("EPEL repository not supported in ${::operatingsystem}")
|
||||
}
|
||||
|
||||
yum::repo { "epel":
|
||||
|
@ -264,6 +264,25 @@ class yum::repo::epel {
|
|||
}
|
||||
|
||||
|
||||
# Add Fedora EPEL Testing repository
|
||||
#
|
||||
class yum::repo::epel-testing {
|
||||
|
||||
include yum::common
|
||||
|
||||
if $yum::common::osname != "el" {
|
||||
fail("EPEL Testing repository not supported in ${::operatingsystem}")
|
||||
}
|
||||
|
||||
yum::repo { "epel-testing":
|
||||
descr => "Extra Packages for Enterprise Linux ${yum::common::osver} - Testing - \$basearch",
|
||||
mirrorlist => "http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel-${yum::common::osver}&arch=\$basearch",
|
||||
gpgkey => "puppet:///modules/yum/keys/epel${yum::common::osver}.key",
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
# Add Google repository
|
||||
#
|
||||
class yum::repo::google {
|
||||
|
|
Loading…
Add table
Reference in a new issue