Merge "Expect python3 client package in CentOS8"

This commit is contained in:
Zuul 2020-03-31 23:15:24 +00:00 committed by Gerrit Code Review
commit 6a594cabc6
1 changed files with 9 additions and 1 deletions

View File

@ -46,7 +46,15 @@ describe 'keystone::client' do
when 'Debian' when 'Debian'
{ :client_package_name => 'python3-keystoneclient' } { :client_package_name => 'python3-keystoneclient' }
when 'RedHat' when 'RedHat'
{ :client_package_name => 'python-keystoneclient' } if facts[:operatingsystem] == 'Fedora'
{ :client_package_name => 'python3-keystoneclient' }
else
if facts[:operatingsystemmajrelease] > '7'
{ :client_package_name => 'python3-keystoneclient' }
else
{ :client_package_name => 'python-keystoneclient' }
end
end
end end
end end