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
This commit is contained in:
yatin 2018-09-26 09:41:39 +05:30
parent 690c3edfdf
commit abe888f137
1 changed files with 7 additions and 2 deletions

View File

@ -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'