
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>
27 lines
604 B
Puppet
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
|
|
}
|