Browse Source

Merge "Expect python3 client package in CentOS8"

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

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

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



Loading…
Cancel
Save