Inherit pyvers from openstacklib::defaults

Depends-On: I84b767921d151a61429b2c89e6372c4b447f0d7d
Change-Id: I215a6d771a40f7d1802d68d7b4acdde188d26df4
This commit is contained in:
Lee Yarwood 2019-01-11 14:08:26 +00:00
parent b535e591d3
commit 24ee220a9f

View File

@ -1,12 +1,8 @@
# #
class tempest::params { class tempest::params {
include ::openstacklib::defaults include ::openstacklib::defaults
if ($::os['name'] == 'Fedora') or $pyvers = $::openstacklib::defaults::pyvers
($::os['family'] == 'RedHat' and Integer.new($::os['release']['major']) > 7) {
$pyvers = '3'
} else {
$pyvers = ''
}
case $::osfamily { case $::osfamily {
'RedHat': { 'RedHat': {
$dev_packages = [ $dev_packages = [