
This changes the puppet-lint requirement to 1.1.x, so that we can use puppet-lint plugins. Most of these plugins are for 4.x compat, but some just catch common errors. Change-Id: I3b16baf063746024cb8dc89a931dae2f604258f6
28 lines
615 B
Puppet
28 lines
615 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),
|
|
}
|
|
|
|
}
|