File: client.pp

package info (click to toggle)
puppet-module-cinder 27.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,512 kB
  • sloc: ruby: 6,697; python: 33; sh: 10; makefile: 10
file content (24 lines) | stat: -rw-r--r-- 492 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: cinder::client
#
# Installs Cinder python client.
#
# === Parameters
#
# [*package_ensure*]
#   (Optional) Ensure state for package.
#   Defaults to 'present'.
#
class cinder::client (
  Stdlib::Ensure::Package $package_ensure = 'present',
) {
  include cinder::deps
  include cinder::params

  package { 'python-cinderclient':
    ensure => $package_ensure,
    name   => $cinder::params::client_package,
    tag    => 'openstack',
  }

  include openstacklib::openstackclient
}