Puppet Class: profile::openstack::eqiad1::rabbitmq

Defined in:
modules/profile/manifests/openstack/eqiad1/rabbitmq.pp

Overview

Parameters:

  • openstack_controllers (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::eqiad1::openstack_controllers'))
  • monitor_user (Any) (defaults to: lookup('profile::openstack::eqiad1::rabbit_monitor_user'))
  • monitor_password (Any) (defaults to: lookup('profile::openstack::eqiad1::rabbit_monitor_pass'))
  • cleanup_password (Any) (defaults to: lookup('profile::openstack::eqiad1::rabbit_cleanup_pass'))
  • file_handles (Any) (defaults to: lookup('profile::openstack::eqiad1::rabbit_file_handles'))
  • designate_hosts (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::eqiad1::designate_hosts'))
  • nova_rabbit_user (String) (defaults to: lookup('profile::openstack::base::nova::rabbit_user'))
  • nova_rabbit_password (String) (defaults to: lookup('profile::openstack::eqiad1::nova::rabbit_pass'))
  • neutron_rabbit_user (String) (defaults to: lookup('profile::openstack::base::neutron::rabbit_user'))
  • neutron_rabbit_password (String) (defaults to: lookup('profile::openstack::eqiad1::neutron::rabbit_pass'))
  • trove_guest_rabbit_user (String) (defaults to: lookup('profile::openstack::base::trove::trove_guest_rabbit_user'))
  • trove_guest_rabbit_pass (String) (defaults to: lookup('profile::openstack::eqiad1::trove::trove_guest_rabbit_pass'))
  • rabbit_cfssl_label (Optional[String]) (defaults to: lookup('profile::openstack::codfw1dev::rabbitmq::rabbit_cfssl_label', {default_value => undef}))
  • rabbit_erlang_cookie (Any) (defaults to: lookup('profile::openstack::eqiad1::rabbit_erlang_cookie'))
  • cinder_backup_nodes (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::eqiad1::cinder::backup::nodes'))


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
# File 'modules/profile/manifests/openstack/eqiad1/rabbitmq.pp', line 1

class profile::openstack::eqiad1::rabbitmq(
    Array[Stdlib::Fqdn] $openstack_controllers = lookup('profile::openstack::eqiad1::openstack_controllers'),
    $monitor_user = lookup('profile::openstack::eqiad1::rabbit_monitor_user'),
    $monitor_password = lookup('profile::openstack::eqiad1::rabbit_monitor_pass'),
    $cleanup_password = lookup('profile::openstack::eqiad1::rabbit_cleanup_pass'),
    $file_handles = lookup('profile::openstack::eqiad1::rabbit_file_handles'),
    Array[Stdlib::Fqdn] $designate_hosts = lookup('profile::openstack::eqiad1::designate_hosts'),
    String $nova_rabbit_user = lookup('profile::openstack::base::nova::rabbit_user'),
    String $nova_rabbit_password = lookup('profile::openstack::eqiad1::nova::rabbit_pass'),
    String $neutron_rabbit_user = lookup('profile::openstack::base::neutron::rabbit_user'),
    String $neutron_rabbit_password = lookup('profile::openstack::eqiad1::neutron::rabbit_pass'),
    String $trove_guest_rabbit_user = lookup('profile::openstack::base::trove::trove_guest_rabbit_user'),
    String $trove_guest_rabbit_pass = lookup('profile::openstack::eqiad1::trove::trove_guest_rabbit_pass'),
    Optional[String] $rabbit_cfssl_label = lookup('profile::openstack::codfw1dev::rabbitmq::rabbit_cfssl_label', {default_value => undef}),
    $rabbit_erlang_cookie = lookup('profile::openstack::eqiad1::rabbit_erlang_cookie'),
    Array[Stdlib::Fqdn] $cinder_backup_nodes = lookup('profile::openstack::eqiad1::cinder::backup::nodes'),
){

    require ::profile::openstack::eqiad1::clientpackages
    class {'::profile::openstack::base::rabbitmq':
        openstack_controllers   => $openstack_controllers,
        monitor_user            => $monitor_user,
        monitor_password        => $monitor_password,
        cleanup_password        => $cleanup_password,
        file_handles            => $file_handles,
        designate_hosts         => $designate_hosts,
        nova_rabbit_user        => $nova_rabbit_user,
        nova_rabbit_password    => $nova_rabbit_password,
        neutron_rabbit_user     => $neutron_rabbit_user,
        neutron_rabbit_password => $neutron_rabbit_password,
        trove_guest_rabbit_user => $trove_guest_rabbit_user,
        trove_guest_rabbit_pass => $trove_guest_rabbit_pass,
        rabbit_erlang_cookie    => $rabbit_erlang_cookie,
        rabbit_cfssl_label      => $rabbit_cfssl_label,
        cinder_backup_nodes     => $cinder_backup_nodes,
    }
    contain '::profile::openstack::base::rabbitmq'
}