File: client.pp

package info (click to toggle)
puppet-module-heat 27.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,520 kB
  • sloc: ruby: 3,790; python: 33; sh: 10; makefile: 10
file content (26 lines) | stat: -rw-r--r-- 604 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
23
24
25
26
# == Class: heat::client
#
# Installs the heat python library.
#
# === Parameters
#
# [*ensure*]
#   (Optional) Ensure state for package.
#   Defaults to 'present'.
#
class heat::client (
  Stdlib::Ensure::Package $ensure = 'present'
) {
  include heat::deps
  include heat::params

  # NOTE(tkajinam): heat-package tag is used because heatclient is required
  #                 by heat
  package { 'python-heatclient':
    ensure => $ensure,
    name   => $heat::params::client_package_name,
    tag    => ['openstack', 'openstackclient', 'heat-package'],
  }

  include openstacklib::openstackclient
}