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

View File

@@ -43,9 +43,17 @@ describe 'swift::client' do
when 'Debian' when 'Debian'
{ :client_package_name => 'python3-swiftclient' } { :client_package_name => 'python3-swiftclient' }
when 'RedHat' when 'RedHat'
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' } { :client_package_name => 'python-swiftclient' }
end end
end end
end
end
it_configures 'swift::client' it_configures 'swift::client'
end end