Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the $pyvers variable. Change-Id: I028c489eb28dba84dc6c4fe0e544863733fc7f11
This commit is contained in:
parent
f0ec3d8488
commit
2068041f18
@ -3,11 +3,9 @@
|
||||
# Parameters for puppet-manila
|
||||
#
|
||||
class manila::params {
|
||||
|
||||
include openstacklib::defaults
|
||||
$pyvers = $::openstacklib::defaults::pyvers
|
||||
|
||||
$client_package = "python${pyvers}-manilaclient"
|
||||
$client_package = 'python3-manilaclient'
|
||||
$db_sync_command = 'manila-manage db sync'
|
||||
$lio_package_name = 'targetcli'
|
||||
$group = 'manila'
|
||||
|
@ -29,15 +29,7 @@ describe 'manila::client' do
|
||||
when 'Debian'
|
||||
{ :client_package => 'python3-manilaclient' }
|
||||
when 'RedHat'
|
||||
if facts[:operatingsystem] == 'Fedora'
|
||||
{ :client_package => 'python3-manilaclient' }
|
||||
else
|
||||
if facts[:operatingsystemmajrelease] > '7'
|
||||
{ :client_package => 'python3-manilaclient' }
|
||||
else
|
||||
{ :client_package => 'python-manilaclient' }
|
||||
end
|
||||
end
|
||||
{ :client_package => 'python3-manilaclient' }
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user