Puppet Class: profile::openstack::eqiad1::galera::node

Defined in:
modules/profile/manifests/openstack/eqiad1/galera/node.pp

Overview

Parameters:

  • server_id (Integer) (defaults to: lookup('profile::openstack::eqiad1::galera::server_id'))
  • enabled (Boolean) (defaults to: lookup('profile::openstack::eqiad1::galera::enabled'))
  • listen_port (Stdlib::Port) (defaults to: lookup('profile::openstack::eqiad1::galera::listen_port'))
  • prometheus_db_pass (String) (defaults to: lookup('profile::openstack::eqiad1::galera::prometheus_db_pass'))
  • openstack_control_nodes (Array[OpenStack::ControlNode]) (defaults to: lookup('profile::openstack::eqiad1::openstack_control_nodes'))
  • haproxy_nodes (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::eqiad1::haproxy_nodes'))


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'modules/profile/manifests/openstack/eqiad1/galera/node.pp', line 1

class profile::openstack::eqiad1::galera::node(
    Integer                       $server_id               = lookup('profile::openstack::eqiad1::galera::server_id'),
    Boolean                       $enabled                 = lookup('profile::openstack::eqiad1::galera::enabled'),
    Stdlib::Port                  $listen_port             = lookup('profile::openstack::eqiad1::galera::listen_port'),
    String                        $prometheus_db_pass      = lookup('profile::openstack::eqiad1::galera::prometheus_db_pass'),
    Array[OpenStack::ControlNode] $openstack_control_nodes = lookup('profile::openstack::eqiad1::openstack_control_nodes'),
    Array[Stdlib::Fqdn]           $haproxy_nodes           = lookup('profile::openstack::eqiad1::haproxy_nodes'),
) {
    class {'::profile::openstack::base::galera::node':
        server_id               => $server_id,
        enabled                 => $enabled,
        listen_port             => $listen_port,
        openstack_control_nodes => $openstack_control_nodes,
        prometheus_db_pass      => $prometheus_db_pass,
        haproxy_nodes           => $haproxy_nodes,
    }
}