Merge "Expect python3 client package in CentOS8"

This commit is contained in:
Zuul 2020-03-31 22:05:12 +00:00 committed by Gerrit Code Review
commit d983455ebf
1 changed files with 9 additions and 1 deletions

View File

@ -31,9 +31,17 @@ describe 'mistral::client' do
when 'Debian'
{ :client_package => 'python3-mistralclient' }
when 'RedHat'
if facts[:operatingsystem] == 'Fedora'
{ :client_package => 'python3-mistralclient' }
else
if facts[:operatingsystemmajrelease] > '7'
{ :client_package => 'python3-mistralclient' }
else
{ :client_package => 'python-mistralclient' }
end
end
end
end
it_behaves_like 'mistral client'
end