Setup RDO yum repo on other Distributions

This patch includes other Red Hat based Operating systems to setup
RDO yum repo.

Change-Id: Ida4d601b1a48f069ec67b444ec336cdfed4eaf72
This commit is contained in:
Pradeep Kilambi
2013-07-05 17:06:17 -04:00
parent 073a71482c
commit de4062022f

View File

@@ -4,7 +4,7 @@ class openstack::repo::rdo {
if $::osfamily == 'RedHat' { if $::osfamily == 'RedHat' {
$dist = $::operatingsystem ? { $dist = $::operatingsystem ? {
'CentOS' => 'epel', /(CentOS|RedHat|Scientific|SLC)/ => 'epel',
'Fedora' => 'fedora', 'Fedora' => 'fedora',
} }
# $lsbmajdistrelease is only available with redhat-lsb installed # $lsbmajdistrelease is only available with redhat-lsb installed