Inherit pyvers from openstacklib::defaults
Depends-On: I84b767921d151a61429b2c89e6372c4b447f0d7d Change-Id: I215a6d771a40f7d1802d68d7b4acdde188d26df4
This commit is contained in:
parent
b535e591d3
commit
24ee220a9f
@ -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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user