File: client.pp

package info (click to toggle)
puppet-module-magnum 27.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,160 kB
  • sloc: ruby: 2,824; python: 33; makefile: 21; sh: 10
file content (24 lines) | stat: -rw-r--r-- 526 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: magnum::client
#
# Manages the magnum client package on systems
#
# === Parameters:
#
# [*package_ensure*]
#   (optional) The state of the package
#   Defaults to 'present'
#
class magnum::client (
  Stdlib::Ensure::Package $package_ensure = 'present',
) {
  include magnum::deps
  include magnum::params

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

  include openstacklib::openstackclient
}