Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the $pyvers variable. Change-Id: I0dd38974a07d76b003688c57258aaa37a8b6ed32
This commit is contained in:
parent
fd02d1a53f
commit
ae0a25f1ed
|
@ -2,10 +2,9 @@
|
|||
#
|
||||
class tacker::params {
|
||||
include openstacklib::defaults
|
||||
$pyvers = $::openstacklib::defaults::pyvers
|
||||
|
||||
$group = 'tacker'
|
||||
$client_package_name = "python${pyvers}-tackerclient"
|
||||
$client_package_name = 'python3-tackerclient'
|
||||
|
||||
case $::osfamily {
|
||||
'RedHat': {
|
||||
|
|
|
@ -33,15 +33,7 @@ describe 'tacker::client' do
|
|||
when 'Debian'
|
||||
{ :client_package_name => 'python3-tackerclient' }
|
||||
when 'RedHat'
|
||||
if facts[:operatingsystem] == 'Fedora'
|
||||
{ :client_package_name => 'python3-tackerclient' }
|
||||
else
|
||||
if facts[:operatingsystemmajrelease] > '7'
|
||||
{ :client_package_name => 'python3-tackerclient' }
|
||||
else
|
||||
{ :client_package_name => 'python-tackerclient' }
|
||||
end
|
||||
end
|
||||
{ :client_package_name => 'python3-tackerclient' }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue