File: client.pp

package info (click to toggle)
puppet-module-aodh 27.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,160 kB
  • sloc: ruby: 2,381; python: 33; makefile: 10; sh: 10
file content (22 lines) | stat: -rw-r--r-- 459 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Installs the aodh python client.
#
# == parameters
#  [*ensure*]
#   (optional) Ensure state of the package.
#   Defaults to 'present'.
#
class aodh::client (
  Stdlib::Ensure::Package $ensure = 'present'
) {
  include aodh::deps
  include aodh::params

  package { 'python-aodhclient':
    ensure => $ensure,
    name   => $aodh::params::client_package_name,
    tag    => ['openstack', 'openstackclient'],
  }

  include openstacklib::openstackclient
}