Merge "Expect python3 client package in CentOS8"
This commit is contained in:
commit
90b0dff799
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user