1e95f32a6f
This adds defined anchor points for external modules to hook into the software install, config and service dependency chain. This allows external modules to manage software installation (virtualenv, containers, etc) and service management (pacemaker) without needing rely on resources that may change or be renamed. Change-Id: If9fa188b7dca47e6724a737d66e34c0c85668c36
30 lines
657 B
Puppet
30 lines
657 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 $::designate::params::client_package_name
|
|
#
|
|
class designate::client (
|
|
$package_ensure = 'present',
|
|
$client_package_name = $::designate::params::client_package_name,
|
|
) {
|
|
|
|
include ::designate::deps
|
|
include ::designate::params
|
|
|
|
package { 'python-designateclient':
|
|
ensure => $package_ensure,
|
|
name => $client_package_name,
|
|
tag => 'openstack',
|
|
}
|
|
|
|
}
|