Files
puppet-openstacklib/manifests/openstackclient.pp
Takashi Kajinami 3bc612652e Prepare for new lint plugins
This fixes a few lint warnings/errors detected by the following plugins
we aim to enable soon.
 - puppet-lint-file_ensure-check
 - puppet-lint-trailing_comma-check
 - puppet-lint-topscope-variable-check

Change-Id: I777669d524fe98bcf866358294cb1ff7d2f69de1
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-08-15 20:12:02 +09:00

25 lines
657 B
Puppet

# == Class: openstacklib::openstackclient
#
# Installs the openstackclient
#
# == Parameters
#
# [*package_ensure*]
# (Optional) Ensure state of the openstackclient package.
# Defaults to 'present'
#
# [*package_name*]
# (Optional) The name of the package to install
# Defaults to $openstacklib::params::openstackclient_package_name
#
class openstacklib::openstackclient(
$package_name = $openstacklib::params::openstackclient_package_name,
$package_ensure = 'present',
) inherits openstacklib::params {
stdlib::ensure_packages($package_name, {
'ensure' => $package_ensure,
'tag' => ['openstack', 'openstackclient']
})
}