Takashi Kajinami aae84d93b0 Use new openstackclient tag
The new openstackclient tag was added so that we can get all resources
about openstack CLI more easily. This adds this tag to heatclient
because the package provides some sub-commands.

Also, the heatclient package is required by heat so updating it should
restart the services.

Change-Id: I4e24408d9c377d0b67d87efa07f07913ef997402
2023-11-20 01:18:41 +09:00

28 lines
557 B
Puppet

# == Class: heat::client
#
# Installs the heat python library.
#
# === Parameters
#
# [*ensure*]
# (Optional) Ensure state for package.
#
class heat::client (
$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
}