File: client.pp

package info (click to toggle)
puppet-module-mistral 25.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,004 kB
  • sloc: ruby: 2,093; python: 38; makefile: 11; sh: 10
file content (24 lines) | stat: -rw-r--r-- 482 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
# == Class: mistral::client
#
# Installs mistral python client.
#
# === Parameters
#
# [*package_ensure*]
#   Ensure state for package. Defaults to 'present'.
#
class mistral::client(
  $package_ensure = 'present'
) {

  include mistral::deps
  include mistral::params

  package { 'python-mistralclient':
    ensure => $package_ensure,
    name   => $::mistral::params::client_package,
    tag    => ['openstack', 'openstackclient'],
  }

  include openstacklib::openstackclient
}