Files
puppet-openstacklib/manifests/defaults.pp
Takashi Kajinami 23fd613cbd Remove logic for CentOS < 9
... 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
2023-02-03 04:10:02 +00:00

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}")
}
}
}