
Fix new lint errors detected when full of the voxpupili lint plugins are enabled. Change-Id: I2bdb5c200f3937ae018a8c34485ef3bd4d833763 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
23 lines
531 B
Puppet
23 lines
531 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 $facts['os']['family'] {
|
|
'RedHat': {
|
|
$open_iscsi_package_name = 'iscsi-initiator-utils'
|
|
}
|
|
'Debian': {
|
|
$open_iscsi_package_name = 'open-iscsi'
|
|
}
|
|
default:{
|
|
fail("Unsupported osfamily: ${facts['os']['family']}")
|
|
}
|
|
}
|
|
}
|