
This fixes a few lint warnings/errors detected by the following plugins we aim to enable soon. - puppet-lint-file_ensure-check - puppet-lint-trailing_comma-check - puppet-lint-topscope-variable-check Change-Id: I3604827f2a8457dfc407b00ec2d74b5dd9ae54f0 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
31 lines
715 B
Puppet
31 lines
715 B
Puppet
# == Class designate::client
|
|
#
|
|
# Installs the designate python library.
|
|
#
|
|
# == Parameters
|
|
#
|
|
# [*package_ensure*]
|
|
# (optional) Ensure state for package.
|
|
# Defaults to 'present'
|
|
#
|
|
# [*client_package_name*]
|
|
# (optional) Name of the package containing client resources
|
|
# Defaults to $designate::params::client_package_name
|
|
#
|
|
class designate::client (
|
|
$package_ensure = 'present',
|
|
$client_package_name = $designate::params::client_package_name,
|
|
) inherits designate::params {
|
|
|
|
include designate::deps
|
|
|
|
package { 'python-designateclient':
|
|
ensure => $package_ensure,
|
|
name => $client_package_name,
|
|
tag => ['openstack', 'openstackclient'],
|
|
}
|
|
|
|
include openstacklib::openstackclient
|
|
|
|
}
|