508fc7adde
Since everyone has switched to Python3, it's time for the removal of the $pyvers variable. Change-Id: I371ef3a2e257e6d197238e7e9cbfd9d445405be5
25 lines
613 B
Puppet
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")
|
|
}
|
|
}
|
|
}
|