Files
puppet-heat/manifests/client.pp
Takashi Kajinami 84eb74d6e4 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: I9f44215d2806653aec84076414f1ae20d8b7c1ec
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-09-23 17:42:19 +09:00

27 lines
604 B
Puppet

# == Class: heat::client
#
# Installs the heat python library.
#
# === Parameters
#
# [*ensure*]
# (Optional) Ensure state for package.
# Defaults to 'present'.
#
class heat::client (
Stdlib::Ensure::Package $ensure = 'present'
) {
include heat::deps
include heat::params
# NOTE(tkajinam): heat-package tag is used because heatclient is required
# by heat
package { 'python-heatclient':
ensure => $ensure,
name => $heat::params::client_package_name,
tag => ['openstack', 'openstackclient', 'heat-package'],
}
include openstacklib::openstackclient
}