Files
puppet-openstacklib/manifests/openstackclient.pp
Takashi Kajinami 3f0bda3f6c Introduce new 'openstackclient' tag
... so that we can define dependencies on client packages.

Change-Id: If6f54d9b63ebe0dbc7e82795d0ba3fb88551086e
2023-10-31 13:14:58 +00:00

25 lines
653 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', 'openstackclient']
})
}