Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the $pyvers variable. Change-Id: I152451ef1be492bfa96868fdc1d89f4eabce3371
This commit is contained in:
parent
e73bf6a864
commit
6874113187
@ -4,9 +4,8 @@
|
||||
#
|
||||
class cinder::params {
|
||||
include openstacklib::defaults
|
||||
$pyvers = $::openstacklib::defaults::pyvers
|
||||
|
||||
$client_package = "python${pyvers}-cinderclient"
|
||||
$client_package = 'python3-cinderclient'
|
||||
$group = 'cinder'
|
||||
$cinder_wsgi_script_source = '/usr/bin/cinder-wsgi'
|
||||
|
||||
|
@ -43,15 +43,7 @@ describe 'cinder::client' do
|
||||
when 'Debian'
|
||||
{ :client_package_name => 'python3-cinderclient' }
|
||||
when 'RedHat'
|
||||
if facts[:operatingsystem] == 'Fedora'
|
||||
{ :client_package_name => 'python3-cinderclient' }
|
||||
else
|
||||
if facts[:operatingsystemmajrelease] > '7'
|
||||
{ :client_package_name => 'python3-cinderclient' }
|
||||
else
|
||||
{ :client_package_name => 'python-cinderclient' }
|
||||
end
|
||||
end
|
||||
{ :client_package_name => 'python3-cinderclient' }
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user