From a38bfd0c4a37eb791dba27c735588e61dd9b57bd Mon Sep 17 00:00:00 2001 From: Volodymyr Stoiko Date: Thu, 11 Aug 2016 12:57:20 +0300 Subject: [PATCH] Add support 8.0 --- .../puppet/modules/rally/manifests/config.pp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/deployment_scripts/puppet/modules/rally/manifests/config.pp b/deployment_scripts/puppet/modules/rally/manifests/config.pp index 5e0945a..a6a13e5 100644 --- a/deployment_scripts/puppet/modules/rally/manifests/config.pp +++ b/deployment_scripts/puppet/modules/rally/manifests/config.pp @@ -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':