Puppet Class: openstack::cinder::config::victoria

Defined in:
modules/openstack/manifests/cinder/config/victoria.pp

Overview

Parameters:

  • openstack_controllers (Array[Stdlib::Fqdn])
  • db_user (String[1])
  • db_pass (String[1])
  • db_name (String[1])
  • db_host (Stdlib::Fqdn)
  • ldap_user_pass (String[1])
  • keystone_admin_uri (String[1])
  • region (String[1])
  • ceph_pool (String[1])
  • ceph_rbd_client_name (String[1])
  • rabbit_user (String[1])
  • rabbit_pass (String[1])
  • api_bind_port (Stdlib::Port)
  • libvirt_rbd_cinder_uuid (String[1])
  • backup_path (Stdlib::Unixpath)


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
# File 'modules/openstack/manifests/cinder/config/victoria.pp', line 1

class openstack::cinder::config::victoria(
    Array[Stdlib::Fqdn] $openstack_controllers,
    String[1]           $db_user,
    String[1]           $db_pass,
    String[1]           $db_name,
    Stdlib::Fqdn        $db_host,
    String[1]           $ldap_user_pass,
    String[1]           $keystone_admin_uri,
    String[1]           $region,
    String[1]           $ceph_pool,
    String[1]           $ceph_rbd_client_name,
    String[1]           $rabbit_user,
    String[1]           $rabbit_pass,
    Stdlib::Port        $api_bind_port,
    String[1]           $libvirt_rbd_cinder_uuid,
    Stdlib::Unixpath    $backup_path,
) {
    require 'openstack::cinder::user'

    file { '/etc/cinder/':
        ensure => directory,
    }

    file { '/etc/cinder/cinder.conf':
        content   => template('openstack/victoria/cinder/cinder.conf.erb'),
        owner     => 'cinder',
        group     => 'cinder',
        mode      => '0440',
        show_diff => false,
    }
}