Merge "Expect python3 client package in CentOS8"

This commit is contained in:
Zuul 2020-03-31 15:14:44 +00:00 committed by Gerrit Code Review
commit 4d83f2060b

View File

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