Puppet Class: magnum::clients::cinder

Inherits:
magnum::clients
Defined in:
manifests/clients/cinder.pp

Overview

Class: magnum::clients::cinder

Manages cinder 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

api_version

(optional) Version of Cinder API to use in cinderclient. Defaults to $facts

ca_file

(optional) CA cert file to use in SSL connections. Defaults to $facts

cert_file

(optional) PEM-formatted certificate chain file. Defaults to $facts

key_file

(optional) PEM-formatted file that contains the private key. Defaults to $facts

insecure

(optional) If set, then the server’s certificate will not be verified. Defaults to false

Parameters:

  • region_name (Any) (defaults to: $magnum::clients::region_name)
  • endpoint_type (Any) (defaults to: $magnum::clients::endpoint_type)
  • api_version (Any) (defaults to: $facts['os_service_default'])
  • ca_file (Any) (defaults to: $magnum::clients::ca_file)
  • cert_file (Any) (defaults to: $magnum::clients::cert_file)
  • key_file (Any) (defaults to: $magnum::clients::key_file)
  • insecure (Any) (defaults to: $magnum::clients::insecure)


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'manifests/clients/cinder.pp', line 37

class magnum::clients::cinder(
  $region_name   = $magnum::clients::region_name,
  $endpoint_type = $magnum::clients::endpoint_type,
  $api_version   = $facts['os_service_default'],
  $ca_file       = $magnum::clients::ca_file,
  $cert_file     = $magnum::clients::cert_file,
  $key_file      = $magnum::clients::key_file,
  $insecure      = $magnum::clients::insecure
) inherits magnum::clients {

  include magnum::deps
  include magnum::params

  magnum_config {
    'cinder_client/region_name':   value => $region_name;
    'cinder_client/endpoint_type': value => $endpoint_type;
    'cinder_client/api_version':   value => $api_version;
    'cinder_client/ca_file':       value => $ca_file;
    'cinder_client/cert_file':     value => $cert_file;
    'cinder_client/key_file':      value => $key_file;
    'cinder_client/insecure':      value => $insecure;
  }
}