From abe888f1378e707e8dac7a46e19247bdabc8f0b6 Mon Sep 17 00:00:00 2001 From: yatin Date: Wed, 26 Sep 2018 09:41:39 +0530 Subject: [PATCH] Adjust glance/keystone test package names for Fedora With [1] RDO distgits are used for glance/keystone and for Fedora only py3 packages are build, so now we have to use python3-keystone-tests and python3-glance-tests for for Fedora. [1] https://review.rdoproject.org/r/#/c/16369/ Depends-On: https://review.openstack.org/#/c/605350/ Change-Id: Ia2d213f0a7e35405bf8a51b2974130c6f80442e5 --- manifests/params.pp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index dd02b016..c6927eeb 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,6 +1,11 @@ # class tempest::params { include ::openstacklib::defaults + if ($::operatingsystem == 'Fedora') { + $pyvers = '3' + } else { + $pyvers = '' + } case $::osfamily { 'RedHat': { $dev_packages = [ @@ -16,11 +21,11 @@ class tempest::params { $python_bgpvpn_tests = 'python-networking-bgpvpn-tests-tempest' $python_cinder_tests = 'python-cinder-tests-tempest' $python_designate_tests = 'python-designate-tests-tempest' - $python_glance_tests = 'python-glance-tests' + $python_glance_tests = "python${pyvers}-glance-tests" $python_heat_tests = 'python-heat-tests-tempest' $python_horizon_tests = 'python-horizon-tests-tempest' $python_ironic_tests = 'python-ironic-tests-tempest' - $python_keystone_tests = 'python-keystone-tests' + $python_keystone_tests = "python${pyvers}-keystone-tests" $python_magnum_tests = 'python-magnum-tests-tempest' $python_mistral_tests = 'python-mistral-tests-tempest' $python_vitrage_tests = 'python-vitrage-tests-tempest'