
The Havana release has dropped, and all supported repos include it. No reason to stick to Grizzly packages any further. Change-Id: I50833a977f0e6892db22a6d0e93b89f60e2fe0a0
28 lines
785 B
Puppet
28 lines
785 B
Puppet
#
|
|
# Sets up the package repos necessary to use OpenStack
|
|
# on RHEL-alikes and Ubuntu
|
|
#
|
|
class openstack::repo(
|
|
$release = 'havana'
|
|
) {
|
|
case $release {
|
|
'havana', 'grizzly': {
|
|
if $::osfamily == 'RedHat' {
|
|
class {'openstack::repo::rdo': release => $release }
|
|
} elsif $::operatingsystem == 'Ubuntu' {
|
|
class {'openstack::repo::uca': release => $release }
|
|
}
|
|
}
|
|
'folsom': {
|
|
if $::osfamily == 'RedHat' {
|
|
include openstack::repo::epel
|
|
} elsif $::operatingsystem == 'Ubuntu' {
|
|
class {'openstack::repo::uca': release => $release }
|
|
}
|
|
}
|
|
default: {
|
|
notify { "WARNING: openstack::repo parameter 'release' of '${release}' not recognized; please use one of 'havana', 'grizzly' or 'folsom'.": }
|
|
}
|
|
}
|
|
}
|