Files
puppet-zaqar/manifests/client.pp
Takashi Kajinami 253c76869b Validate ensure parameter for package resources
The minimum version of puppetlabs-stdlib has been bumped globally, so
now we can use the common type definition.

Change-Id: Id545069b6766bbd367f119071234d80eb5fee9a5
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-09-23 17:57:59 +09:00

25 lines
493 B
Puppet

# == Class: zaqar::client
#
# Installs the zaqar python library.
#
# === Parameters:
#
# [*ensure*]
# (Optional) Ensure state for pachage.
# Defaults to 'present'.
#
class zaqar::client (
Stdlib::Ensure::Package $ensure = 'present',
) {
include zaqar::deps
include zaqar::params
package { 'python-zaqarclient':
ensure => $ensure,
name => $zaqar::params::client_package_name,
tag => ['openstack', 'openstackclient'],
}
include openstacklib::openstackclient
}