Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the $pyvers variable. Change-Id: I51b3fb2c00faa2a5cbe54109594908a4dbb40e67
This commit is contained in:
parent
0964a6bc24
commit
bcfd47644f
@ -4,9 +4,8 @@
|
||||
#
|
||||
class mistral::params {
|
||||
include openstacklib::defaults
|
||||
$pyvers = $::openstacklib::defaults::pyvers
|
||||
|
||||
$client_package = "python${pyvers}-mistralclient"
|
||||
$client_package = 'python3-mistralclient'
|
||||
$db_sync_command = 'mistral-db-manage --config-file=/etc/mistral/mistral.conf upgrade head'
|
||||
$db_populate_command = 'mistral-db-manage --config-file=/etc/mistral/mistral.conf populate'
|
||||
$group = 'mistral'
|
||||
|
@ -31,15 +31,7 @@ describe 'mistral::client' do
|
||||
when 'Debian'
|
||||
{ :client_package => 'python3-mistralclient' }
|
||||
when 'RedHat'
|
||||
if facts[:operatingsystem] == 'Fedora'
|
||||
{ :client_package => 'python3-mistralclient' }
|
||||
else
|
||||
if facts[:operatingsystemmajrelease] > '7'
|
||||
{ :client_package => 'python3-mistralclient' }
|
||||
else
|
||||
{ :client_package => 'python-mistralclient' }
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user