Merge "Expect python3 client package in CentOS8"

This commit is contained in:
Zuul 2020-03-31 17:23:47 +00:00 committed by Gerrit Code Review
commit eb2fb2fe67

View File

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