Puppet Class: profile::openstack::codfw1dev::rabbitmq

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

Overview

Parameters:

  • openstack_controllers (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::codfw1dev::openstack_controllers'))
  • monitor_user (Any) (defaults to: hiera('profile::openstack::codfw1dev::rabbit_monitor_user'))
  • monitor_password (Any) (defaults to: hiera('profile::openstack::codfw1dev::rabbit_monitor_pass'))
  • cleanup_password (Any) (defaults to: hiera('profile::openstack::codfw1dev::rabbit_cleanup_pass'))
  • file_handles (Any) (defaults to: hiera('profile::openstack::codfw1dev::rabbit_file_handles'))
  • labs_hosts_range (Any) (defaults to: hiera('profile::openstack::codfw1dev::labs_hosts_range'))
  • labs_hosts_range_v6 (Any) (defaults to: hiera('profile::openstack::codfw1dev::labs_hosts_range_v6'))
  • designate_hosts (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::codfw1dev::designate_hosts'))
  • nova_rabbit_password (Any) (defaults to: hiera('profile::openstack::codfw1dev::nova::rabbit_pass'))
  • neutron_rabbit_user (Any) (defaults to: hiera('profile::openstack::base::neutron::rabbit_user'))
  • neutron_rabbit_password (Any) (defaults to: hiera('profile::openstack::codfw1dev::neutron::rabbit_pass'))
  • rabbit_erlang_cookie (Any) (defaults to: hiera('profile::openstack::codfw1dev::rabbit_erlang_cookie'))


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

class profile::openstack::codfw1dev::rabbitmq(
    Array[Stdlib::Fqdn] $openstack_controllers = lookup('profile::openstack::codfw1dev::openstack_controllers'),
    $monitor_user = hiera('profile::openstack::codfw1dev::rabbit_monitor_user'),
    $monitor_password = hiera('profile::openstack::codfw1dev::rabbit_monitor_pass'),
    $cleanup_password = hiera('profile::openstack::codfw1dev::rabbit_cleanup_pass'),
    $file_handles = hiera('profile::openstack::codfw1dev::rabbit_file_handles'),
    $labs_hosts_range = hiera('profile::openstack::codfw1dev::labs_hosts_range'),
    $labs_hosts_range_v6 = hiera('profile::openstack::codfw1dev::labs_hosts_range_v6'),
    Array[Stdlib::Fqdn] $designate_hosts = lookup('profile::openstack::codfw1dev::designate_hosts'),
    $nova_rabbit_password = hiera('profile::openstack::codfw1dev::nova::rabbit_pass'),
    $neutron_rabbit_user = hiera('profile::openstack::base::neutron::rabbit_user'),
    $neutron_rabbit_password = hiera('profile::openstack::codfw1dev::neutron::rabbit_pass'),
    $rabbit_erlang_cookie = hiera('profile::openstack::codfw1dev::rabbit_erlang_cookie'),
){

    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,
        labs_hosts_range      => $labs_hosts_range,
        labs_hosts_range_v6   => $labs_hosts_range_v6,
        designate_hosts       => $designate_hosts,
        nova_rabbit_password  => $nova_rabbit_password,
        rabbit_erlang_cookie  => $rabbit_erlang_cookie,
    }
    contain '::profile::openstack::base::rabbitmq'

    # move to base when appropriate along with lookups above
    class {'::openstack::neutron::rabbit':
        username => $neutron_rabbit_user,
        password => $neutron_rabbit_password,
    }
    contain '::openstack::neutron::rabbit'
}