24e7b1f62c
Some users wish to override the default package provider by their own. Tag all packages with the 'openstack' to allow mass resource attributes override using resource collectors. Closes-bug: #1391209 Change-Id: I5e52716c378ee80e7071c459d9deccb103cb18ad Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
23 lines
407 B
Puppet
23 lines
407 B
Puppet
# == Class: cinder::client
|
|
#
|
|
# Installs Cinder python client.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*package_ensure*]
|
|
# (Optional) Ensure state for package.
|
|
# Defaults to 'present'.
|
|
#
|
|
class cinder::client(
|
|
$package_ensure = 'present'
|
|
) {
|
|
|
|
include ::cinder::params
|
|
|
|
package { 'python-cinderclient':
|
|
ensure => $package_ensure,
|
|
name => $::cinder::params::client_package,
|
|
tag => 'openstack',
|
|
}
|
|
}
|