Files
puppet-watcher/manifests/client.pp
Takashi Kajinami 525e6e0e15 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: I4255da364e203c0898c9bb897cfaf753835069a1
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-09-23 18:00:24 +09:00

25 lines
507 B
Puppet

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