Benedikt Trefzer a39a44faf9 make openstackclient package name configurable
Change-Id: Ie7d770af6d1238c3f68b7c743e8fa5255a9a5995
2018-09-10 10:33:01 +02:00

25 lines
634 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'
})
}