Add support 8.0

This commit is contained in:
Volodymyr Stoiko 2016-08-11 12:57:20 +03:00
parent 37db76b6f8
commit a38bfd0c4a
1 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,8 @@ class rally::config inherits rally {
$rally_hostname = hiera("rally::public_hostname")
$rally_vip = hiera("rally::public_vip")
$fuel_version = hiera("fuel_version")
host { "${rally_hostname}":
ensure => present,
ip => $rally_vip,
@ -27,11 +29,12 @@ class rally::config inherits rally {
--file=${rally_config} \
--name ${rally_deployment}"
exec { "pip_packages_upgrade":
exec { "dependencies_upgrade":
command => "pip install --upgrade 'python-keystoneclient>=2.0.0'",
path => ["/usr/bin", "/usr/sbin"],
timeout => 100,
before => Exec["register_deployment"]
before => Exec["register_deployment"],
onlyif => 'test "$fuel_version" = "8.0"',
}
exec { 'register_deployment':