Add support 8.0
This commit is contained in:
parent
37db76b6f8
commit
a38bfd0c4a
|
@ -6,6 +6,8 @@ class rally::config inherits rally {
|
||||||
$rally_hostname = hiera("rally::public_hostname")
|
$rally_hostname = hiera("rally::public_hostname")
|
||||||
$rally_vip = hiera("rally::public_vip")
|
$rally_vip = hiera("rally::public_vip")
|
||||||
|
|
||||||
|
$fuel_version = hiera("fuel_version")
|
||||||
|
|
||||||
host { "${rally_hostname}":
|
host { "${rally_hostname}":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
ip => $rally_vip,
|
ip => $rally_vip,
|
||||||
|
@ -27,11 +29,12 @@ class rally::config inherits rally {
|
||||||
--file=${rally_config} \
|
--file=${rally_config} \
|
||||||
--name ${rally_deployment}"
|
--name ${rally_deployment}"
|
||||||
|
|
||||||
exec { "pip_packages_upgrade":
|
exec { "dependencies_upgrade":
|
||||||
command => "pip install --upgrade 'python-keystoneclient>=2.0.0'",
|
command => "pip install --upgrade 'python-keystoneclient>=2.0.0'",
|
||||||
path => ["/usr/bin", "/usr/sbin"],
|
path => ["/usr/bin", "/usr/sbin"],
|
||||||
timeout => 100,
|
timeout => 100,
|
||||||
before => Exec["register_deployment"]
|
before => Exec["register_deployment"],
|
||||||
|
onlyif => 'test "$fuel_version" = "8.0"',
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { 'register_deployment':
|
exec { 'register_deployment':
|
||||||
|
|
Loading…
Reference in New Issue