yum: Added description and os check to yum::repo::elrepo.

This commit is contained in:
Timo Mkinen 2013-06-09 10:43:55 +03:00
parent 3ec905dc72
commit c8678184ca

View file

@ -344,10 +344,16 @@ class yum::repo::dell {
}
# Add ELRepo repository
#
class yum::repo::elrepo {
include yum::common
if $yum::common::osname != "el" {
fail("ELRepo repository not supported in ${::operatingsystem}")
}
yum::repo { "elrepo":
descr => "ELRepo.org Community Enterprise Linux Repository",
mirrorlist => "http://elrepo.org/mirrors-elrepo.el${yum::common::osver}",