18b010975c
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: If683fbd098e701a3c4da91941cf818b18b41b209
23 lines
419 B
Puppet
23 lines
419 B
Puppet
#
|
|
# Installs the glance python library.
|
|
#
|
|
# == parameters
|
|
# [*ensure*]
|
|
# (Optional) Ensure state for pachage.
|
|
# Defaults to 'present'
|
|
#
|
|
class glance::client(
|
|
$ensure = 'present'
|
|
) {
|
|
|
|
include ::glance::deps
|
|
include ::glance::params
|
|
|
|
package { 'python-glanceclient':
|
|
ensure => $ensure,
|
|
name => $::glance::params::client_package_name,
|
|
tag => ['openstack', 'glance-support-package'],
|
|
}
|
|
|
|
}
|