
... because RDO supports CentOS Stream 9 (aka CentOS 9) only since Zed. This also refactors the logic to determine the Python 3 version and makes the openstacklib::default class hard-fail in unsupported OS Families. Change-Id: I9d1fa698356d7840e50edf9c975e3672be62e912
20 lines
366 B
Puppet
20 lines
366 B
Puppet
# == Class: openstacklib::defaults
|
|
#
|
|
# Default configuration for all openstack-puppet module.
|
|
#
|
|
# This file is loaded in the params.pp of each class.
|
|
#
|
|
class openstacklib::defaults {
|
|
case $::osfamily {
|
|
'RedHat': {
|
|
$pyver3 = '3.9'
|
|
}
|
|
'Debian': {
|
|
$pyver3 = '3'
|
|
}
|
|
default:{
|
|
fail("Unsupported osfamily: ${::osfamily}")
|
|
}
|
|
}
|
|
}
|