Merge "Expect python3 client package in CentOS8"

This commit is contained in:
Zuul 2020-03-31 16:09:53 +00:00 committed by Gerrit Code Review
commit 90b0dff799

View File

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