Expect python3 packages on CentOS8/Fedora
... because these use python3 instead of python2. Change-Id: I3b20148fa6ef94c68e6bed053eb401a8f504f51b
This commit is contained in:
parent
e0eb3ef4cb
commit
05fbb48270
@ -436,21 +436,47 @@ describe 'tempest' do
|
||||
:pip_command => 'pip3',
|
||||
:pyvers => '3' }
|
||||
when 'RedHat'
|
||||
{ :dev_packages => ['python-devel',
|
||||
'libxslt-devel',
|
||||
'libxml2-devel',
|
||||
'openssl-devel',
|
||||
'libffi-devel',
|
||||
'patch',
|
||||
'gcc'],
|
||||
:package_name => 'openstack-tempest',
|
||||
:pip_command => 'pip',
|
||||
:pyvers => '' }
|
||||
if facts[:operatingsystem] == 'Fedora'
|
||||
{ :dev_packages => ['python-devel',
|
||||
'libxslt-devel',
|
||||
'libxml2-devel',
|
||||
'openssl-devel',
|
||||
'libffi-devel',
|
||||
'patch',
|
||||
'gcc'],
|
||||
:package_name => 'openstack-tempest',
|
||||
:pip_command => 'pip3',
|
||||
:pyvers => '3' }
|
||||
else
|
||||
if facts[:operatingsystemmajrelease] > '7'
|
||||
{ :dev_packages => ['python3-devel',
|
||||
'libxslt-devel',
|
||||
'libxml2-devel',
|
||||
'openssl-devel',
|
||||
'libffi-devel',
|
||||
'patch',
|
||||
'gcc'],
|
||||
:package_name => 'openstack-tempest',
|
||||
:pip_command => 'pip3',
|
||||
:pyvers => '3' }
|
||||
else
|
||||
{ :dev_packages => ['python-devel',
|
||||
'libxslt-devel',
|
||||
'libxml2-devel',
|
||||
'openssl-devel',
|
||||
'libffi-devel',
|
||||
'patch',
|
||||
'gcc'],
|
||||
:package_name => 'openstack-tempest',
|
||||
:pip_command => 'pip',
|
||||
:pyvers => '' }
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
it_behaves_like 'tempest'
|
||||
it_behaves_like 'tempest with plugins packages'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user