File: magnum.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 (28 lines) | stat: -rw-r--r-- 788 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
# == Class: magnum::clients::magnum
#
# Manages magnum 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 publicURL
#
class magnum::clients::magnum (
  $region_name   = $magnum::clients::region_name,
  $endpoint_type = $magnum::clients::endpoint_type,
) inherits magnum::clients {
  include magnum::deps
  include magnum::params

  magnum_config {
    'magnum_client/region_name':   value => $region_name;
    'magnum_client/endpoint_type': value => $endpoint_type;
  }
}