
puppetlabs-stdlib deprecated the existing functions in favor of the new stdlib:: functions in 9.0.0. The version was released a few years ago and now we assume we are ready to adopt to the migration. Change-Id: I56603bf6e3dd75d133f296a7fbad93bf09767556 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
25 lines
661 B
Puppet
25 lines
661 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 {
|
|
|
|
stdlib::ensure_packages($package_name, {
|
|
'ensure' => $package_ensure,
|
|
'tag' => ['openstack', 'openstackclient']
|
|
})
|
|
}
|