
CentOS Stream 10 uses Python 3.12, not 3.11 . Change-Id: I3ceca64ddff6f6e7250b2dd9a721bf6a9c87c49c Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
23 lines
480 B
Puppet
23 lines
480 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 $facts['os']['family'] {
|
|
'RedHat': {
|
|
$pyver3 = $facts['os']['release']['major'] ? {
|
|
'10' => '3.12',
|
|
default => '3.9',
|
|
}
|
|
}
|
|
'Debian': {
|
|
$pyver3 = '3'
|
|
}
|
|
default:{
|
|
fail("Unsupported osfamily: ${facts['os']['family']}")
|
|
}
|
|
}
|
|
}
|