0a59d6767a
This patch introduces a new class, placement::client, so that operators can manage pythonN-osc-placement package. Change-Id: I76eb105ca532e427e4f48f84ccb5c15532456fda
25 lines
506 B
Puppet
25 lines
506 B
Puppet
# == Class placement::client
|
|
#
|
|
# installs placement client
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*ensure*]
|
|
# (optional) The state for the placement client package
|
|
# Defaults to 'present'
|
|
#
|
|
class placement::client(
|
|
$ensure = 'present'
|
|
) {
|
|
include placement::deps
|
|
include placement::params
|
|
|
|
package { 'python-osc-placement':
|
|
ensure => $ensure,
|
|
name => $::placement::params::osc_package_name,
|
|
tag => ['openstack', 'placement-support-package'],
|
|
}
|
|
|
|
include 'openstacklib::openstackclient'
|
|
}
|