Browse Source

Merge "Expect python3 client package in CentOS8"

tags/16.2.0
Zuul 3 months ago
committed by Gerrit Code Review
parent
commit
ec002fb7a6
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      spec/classes/zaqar_client_spec.rb

+ 9
- 1
spec/classes/zaqar_client_spec.rb View File

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



Loading…
Cancel
Save