puppet-openstacklib/manifests/openstackclient.pp
Takashi Kajinami 5982115b98 Fix lint error with the latest lint packages
This change fixes the following lint error which is detected since we
removed pin of lint packages.

manifests/openstackclient.pp:18:WARNING: class included by absolute
name (::$class)

Change-Id: Idcc8db91bda9b71e0ed5f05f7f4c9fe587ae6b0b
2021-05-12 10:53:24 +09:00

25 lines
632 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 {
ensure_packages($package_name, {
'ensure' => $package_ensure,
'tag' => 'openstack'
})
}