puppet-openstacklib/manifests/params.pp
Thomas Goirand 508fc7adde Get rid of the $pyvers variable
Since everyone has switched to Python3, it's time for the removal of the
$pyvers variable.

Change-Id: I371ef3a2e257e6d197238e7e9cbfd9d445405be5
2021-06-29 08:06:57 +09:00

25 lines
613 B
Puppet

# == Class: openstacklib::params
#
# These parameters need to be accessed from several locations and
# should be considered to be constant
#
class openstacklib::params {
include openstacklib::defaults
$openstackclient_package_name = 'python3-openstackclient'
case $::osfamily {
'RedHat': {
$open_iscsi_package_name = 'iscsi-initiator-utils'
}
'Debian': {
$open_iscsi_package_name = 'open-iscsi'
}
default:{
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, \
module ${module_name} only support osfamily RedHat and Debian")
}
}
}