Merge "Expect python3 client package in CentOS8"

This commit is contained in:
Zuul 2020-03-31 16:09:51 +00:00 committed by Gerrit Code Review
commit 0e285119a8

View File

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