Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the $pyvers variable. Change-Id: I8c124fb850011a3fd13df504b1897305f944d062
This commit is contained in:
parent
7b102fb5e4
commit
5f643a27f0
|
@ -4,9 +4,8 @@
|
|||
#
|
||||
class cloudkitty::params {
|
||||
include openstacklib::defaults
|
||||
$pyvers = $::openstacklib::defaults::pyvers
|
||||
|
||||
$client_package_name = "python${pyvers}-cloudkittyclient"
|
||||
$client_package_name = 'python3-cloudkittyclient'
|
||||
$api_service_name = 'cloudkitty-api'
|
||||
$processor_service_name = 'cloudkitty-processor'
|
||||
$group = 'cloudkitty'
|
||||
|
|
|
@ -29,15 +29,7 @@ describe 'cloudkitty::client' do
|
|||
when 'Debian'
|
||||
{ :client_package_name => 'python3-cloudkittyclient' }
|
||||
when 'RedHat'
|
||||
if facts[:operatingsystem] == 'Fedora'
|
||||
{ :client_package_name => 'python3-cloudkittyclient' }
|
||||
else
|
||||
if facts[:operatingsystemmajrelease] > '7'
|
||||
{ :client_package_name => 'python3-cloudkittyclient' }
|
||||
else
|
||||
{ :client_package_name => 'python-cloudkittyclient' }
|
||||
end
|
||||
end
|
||||
{ :client_package_name => 'python3-cloudkittyclient' }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue