Added support for EPEL Testing yum repository.

This commit is contained in:
Timo Mkinen 2012-08-24 08:36:52 +03:00
parent d9ed7a8cae
commit e930b3c056

View file

@ -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 {