Merge "Expect python3 client package in CentOS8"

This commit is contained in:
Zuul 2020-03-31 22:07:23 +00:00 committed by Gerrit Code Review
commit 8742af9e3e
1 changed files with 9 additions and 1 deletions

View File

@ -29,7 +29,15 @@ describe 'manila::client' do
when 'Debian' when 'Debian'
{ :client_package => 'python3-manilaclient' } { :client_package => 'python3-manilaclient' }
when 'RedHat' when 'RedHat'
{ :client_package => 'python-manilaclient' } if facts[:operatingsystem] == 'Fedora'
{ :client_package => 'python3-manilaclient' }
else
if facts[:operatingsystemmajrelease] > '7'
{ :client_package => 'python3-manilaclient' }
else
{ :client_package => 'python-manilaclient' }
end
end
end end
end end