5982115b98
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
25 lines
632 B
Puppet
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'
|
|
})
|
|
}
|