File: client.pp

package info (click to toggle)
puppet-module-placement 12.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 644 kB
  • sloc: ruby: 1,516; python: 38; makefile: 10; sh: 10
file content (24 lines) | stat: -rw-r--r-- 496 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 placement::client
#
# installs placement client
#
# === Parameters:
#
# [*ensure*]
#   (optional) The state for the placement client package
#   Defaults to 'present'
#
class placement::client(
  $ensure = 'present'
) {
  include placement::deps
  include placement::params

  package { 'python-osc-placement':
    ensure => $ensure,
    name   => $::placement::params::osc_package_name,
    tag    => ['openstack', 'openstackclient'],
  }

  include 'openstacklib::openstackclient'
}