Merge "Expect python3 client package in CentOS8"

This commit is contained in:
Zuul 2020-03-31 16:09:52 +00:00 committed by Gerrit Code Review
commit d55839e381
1 changed files with 9 additions and 1 deletions

View File

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