Files
puppet-designate/manifests/client.pp
Gael Chamoulaud 572482ab24 Tag all Designate packages
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>
2015-03-31 10:32:19 +02:00

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',
}
}