File: client.pp

package info (click to toggle)
puppet-module-heat 25.0.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,560 kB
  • sloc: ruby: 3,889; python: 38; sh: 10; makefile: 10
file content (27 lines) | stat: -rw-r--r-- 557 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
27
# == Class: heat::client
#
# Installs the heat python library.
#
# === Parameters
#
# [*ensure*]
#   (Optional) Ensure state for package.
#
class heat::client (
  $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

}