Wrap openstack::repo, and add a "kickstack_release" variable
Make sure we can set the desired OpenStack release.
This commit is contained in:
parent
477a662384
commit
e1450e6865
@ -19,6 +19,7 @@ class kickstack (
|
||||
$fact_prefix = $kickstack::params::fact_prefix,
|
||||
$fact_filename = $kickstack::params::fact_filename,
|
||||
$fact_category = $kickstack::params::fact_category,
|
||||
$release = $kickstack::params::release,
|
||||
$package_ensure = $kickstack::params::package_ensure,
|
||||
$name_resolution = $kickstack::params::name_resolution,
|
||||
$verbose = $kickstack::params::verbose,
|
||||
@ -62,7 +63,7 @@ class kickstack (
|
||||
) inherits kickstack::params {
|
||||
|
||||
include ::exportfact
|
||||
include openstack::repo
|
||||
include kickstack::repo
|
||||
include kickstack::nameresolution
|
||||
|
||||
::exportfact::import { $fact_category: }
|
||||
|
@ -21,6 +21,14 @@ class kickstack::params {
|
||||
$package_ensure = pick(getvar("::${variable_prefix}package_ensure"),
|
||||
'installed')
|
||||
|
||||
# The OpenStack release to install
|
||||
# * default 'grizzly'
|
||||
# * override by setting to 'folsom' (not recommended) or 'havana'
|
||||
# This is for new installations only; don't expect this to magically
|
||||
# support rolling releases.
|
||||
$release = pick(getvar("::${variable_prefix}release"),
|
||||
'grizzly')
|
||||
|
||||
# The strategy to use so machines can make their hostnames known to
|
||||
# each other.
|
||||
# * default "hosts" -- manage /etc/hosts
|
||||
|
5
manifests/repo.pp
Normal file
5
manifests/repo.pp
Normal file
@ -0,0 +1,5 @@
|
||||
class kickstack::repo inherits kickstack {
|
||||
class { '::openstack::repo':
|
||||
release => $::kickstack::release
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user