File: clients.pp

package info (click to toggle)
puppet-module-magnum 25.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,180 kB
  • sloc: ruby: 2,768; python: 38; makefile: 21; sh: 10
file content (51 lines) | stat: -rw-r--r-- 1,565 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# == Class: magnum::clients
#
# Manages the clients configuration in magnum server
#
# === Parameters:
#
# [*region_name*]
#   (optional) Region in Identity service catalog to use for communication
#   with the OpenStack service.
#   Defaults to RegionOne
#
# [*endpoint_type*]
#   (optional) Type of endpoint in Identity service catalog to use for
#   communication with the OpenStack service.
#   Defaults to $facts['os_service_default']
#
# [*ca_file*]
#   (optional) CA cert file to use in SSL connections.
#   Defaults to $facts['os_service_default']
#
# [*cert_file*]
#   (optional) PEM-formatted certificate chain file.
#   Defaults to $facts['os_service_default']
#
# [*key_file*]
#   (optional) PEM-formatted file that contains the private key.
#   Defaults to $facts['os_service_default']
#
# [*insecure*]
#   (optional) If set, then the server's certificate will not be verified.
#   Defaults to $facts['os_service_default']
#
class magnum::clients (
  $region_name   = 'RegionOne',
  $endpoint_type = $facts['os_service_default'],
  $ca_file       = $facts['os_service_default'],
  $cert_file     = $facts['os_service_default'],
  $key_file      = $facts['os_service_default'],
  $insecure      = $facts['os_service_default'],
) {
  include magnum::deps
  include magnum::params
  include magnum::clients::barbican
  include magnum::clients::cinder
  include magnum::clients::glance
  include magnum::clients::heat
  include magnum::clients::magnum
  include magnum::clients::neutron
  include magnum::clients::nova
  include magnum::clients::octavia
}