
The minimum version of puppetlabs-stdlib has been bumped globally, so now we can use the common type definition. Change-Id: I88d66de08328b85c550b04b38fa37e1eee98f964 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
24 lines
704 B
Puppet
24 lines
704 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 (
|
|
String[1] $package_name = $openstacklib::params::openstackclient_package_name,
|
|
Stdlib::Ensure::Package $package_ensure = 'present'
|
|
) inherits openstacklib::params {
|
|
stdlib::ensure_packages($package_name, {
|
|
'ensure' => $package_ensure,
|
|
'tag' => ['openstack', 'openstackclient']
|
|
})
|
|
}
|