yum: Added description and os check to yum::repo::elrepo.
This commit is contained in:
parent
3ec905dc72
commit
c8678184ca
1 changed files with 6 additions and 0 deletions
|
@ -344,10 +344,16 @@ class yum::repo::dell {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Add ELRepo repository
|
||||||
|
#
|
||||||
class yum::repo::elrepo {
|
class yum::repo::elrepo {
|
||||||
|
|
||||||
include yum::common
|
include yum::common
|
||||||
|
|
||||||
|
if $yum::common::osname != "el" {
|
||||||
|
fail("ELRepo repository not supported in ${::operatingsystem}")
|
||||||
|
}
|
||||||
|
|
||||||
yum::repo { "elrepo":
|
yum::repo { "elrepo":
|
||||||
descr => "ELRepo.org Community Enterprise Linux Repository",
|
descr => "ELRepo.org Community Enterprise Linux Repository",
|
||||||
mirrorlist => "http://elrepo.org/mirrors-elrepo.el${yum::common::osver}",
|
mirrorlist => "http://elrepo.org/mirrors-elrepo.el${yum::common::osver}",
|
||||||
|
|
Loading…
Add table
Reference in a new issue