
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: Idcd296c754c4c66efcbdd1672c8367ce3539b268 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
29 lines
642 B
Puppet
29 lines
642 B
Puppet
# == Class designate::client
|
|
#
|
|
# Installs the designate python library.
|
|
#
|
|
# == Parameters
|
|
#
|
|
# [*package_ensure*]
|
|
# (optional) Ensure state for pachage.
|
|
# Defaults to 'present'
|
|
|
|
# [*client_package_name*]
|
|
# (optional) Name of the package containing client resources
|
|
# Defaults to client_package_name from designate::params
|
|
#
|
|
class designate::client (
|
|
$package_ensure = 'present',
|
|
$client_package_name = undef,
|
|
) {
|
|
|
|
include ::designate::params
|
|
|
|
package { 'python-designateclient':
|
|
ensure => $package_ensure,
|
|
name => pick($client_package_name, $::designate::params::client_package_name),
|
|
tag => 'openstack',
|
|
}
|
|
|
|
}
|