Merge "Expect python3 client package in CentOS8"

This commit is contained in:
Zuul 2020-03-31 22:12:24 +00:00 committed by Gerrit Code Review
commit 9aaac1da08

View File

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