2015-10-20 17:38:31 +00:00
|
|
|
#
|
2017-01-20 09:26:42 +00:00
|
|
|
# Installs the aodh python client.
|
2015-10-20 17:38:31 +00:00
|
|
|
#
|
|
|
|
# == parameters
|
|
|
|
# [*ensure*]
|
2017-01-20 09:26:42 +00:00
|
|
|
# (optional) Ensure state of the package.
|
|
|
|
# Defaults to 'present'.
|
2015-10-20 17:38:31 +00:00
|
|
|
#
|
|
|
|
class aodh::client (
|
|
|
|
$ensure = 'present'
|
|
|
|
) {
|
|
|
|
|
2016-11-25 02:14:13 +00:00
|
|
|
include ::aodh::deps
|
2015-10-20 17:38:31 +00:00
|
|
|
include ::aodh::params
|
|
|
|
|
2016-05-02 15:16:57 +00:00
|
|
|
package { 'python-aodhclient':
|
2015-10-20 17:38:31 +00:00
|
|
|
ensure => $ensure,
|
|
|
|
name => $::aodh::params::client_package_name,
|
|
|
|
tag => 'openstack',
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|