Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the $pyvers variable. Change-Id: I44895d8fcae71a48b7f74aa25e9b7c1a170db379
This commit is contained in:
parent
59b6f57ac1
commit
e8c63f4ecf
@ -4,10 +4,9 @@
|
||||
#
|
||||
class vitrage::params {
|
||||
include openstacklib::defaults
|
||||
$pyvers = $::openstacklib::defaults::pyvers
|
||||
$pyver3 = $::openstacklib::defaults::pyver3
|
||||
|
||||
$client_package_name = "python${pyvers}-vitrageclient"
|
||||
$client_package_name = 'python3-vitrageclient'
|
||||
$group = 'vitrage'
|
||||
|
||||
case $::osfamily {
|
||||
|
@ -29,15 +29,7 @@ describe 'vitrage::client' do
|
||||
when 'Debian'
|
||||
{ :client_package_name => 'python3-vitrageclient' }
|
||||
when 'RedHat'
|
||||
if facts[:operatingsystem] == 'Fedora'
|
||||
{ :client_package_name => 'python3-vitrageclient' }
|
||||
else
|
||||
if facts[:operatingsystemmajrelease] > '7'
|
||||
{ :client_package_name => 'python3-vitrageclient' }
|
||||
else
|
||||
{ :client_package_name => 'python-vitrageclient' }
|
||||
end
|
||||
end
|
||||
{ :client_package_name => 'python3-vitrageclient' }
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user