Puppet Class: magnum::cinder

Defined in:
manifests/cinder.pp

Overview

Class: magnum::cinder

Manages the magnum cinder config

Parameters:

default_docker_volume_type

(optional) Default cinder volume_type for docker storage Defaults to $facts

default_etcd_volume_type

(optional) Default cinder volume_type for etcd storage Defaults to $facts

default_boot_volume_type

(optional) Default cinder volume_type for boot disk Defaults to $facts

default_boot_volume_size

(optional) Default volume size for boot disk Defaults to $facts

Parameters:

  • default_docker_volume_type (Any) (defaults to: $facts['os_service_default'])
  • default_etcd_volume_type (Any) (defaults to: $facts['os_service_default'])
  • default_boot_volume_type (Any) (defaults to: $facts['os_service_default'])
  • default_boot_volume_size (Any) (defaults to: $facts['os_service_default'])


23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'manifests/cinder.pp', line 23

class magnum::cinder (
  $default_docker_volume_type = $facts['os_service_default'],
  $default_etcd_volume_type   = $facts['os_service_default'],
  $default_boot_volume_type   = $facts['os_service_default'],
  $default_boot_volume_size   = $facts['os_service_default'],
) {

  include magnum::deps

  magnum_config {
    'cinder/default_docker_volume_type': value => $default_docker_volume_type;
    'cinder/default_etcd_volume_type': value   => $default_etcd_volume_type;
    'cinder/default_boot_volume_type': value   => $default_boot_volume_type;
    'cinder/default_boot_volume_size': value   => $default_boot_volume_size;
  }

}