Puppet Class: profile::openstack::codfw1dev::puppetmaster::frontend

Defined in:
modules/profile/manifests/openstack/codfw1dev/puppetmaster/frontend.pp

Overview

Parameters:

  • openstack_controllers (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::codfw1dev::openstack_controllers'))
  • designate_hosts (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::codfw1dev::designate_hosts'))
  • puppetmasters (Any) (defaults to: lookup('profile::openstack::codfw1dev::puppetmaster::servers'))
  • puppetmaster_ca (Any) (defaults to: lookup('profile::openstack::codfw1dev::puppetmaster::ca'))
  • puppetmaster_webhostname (Any) (defaults to: lookup('profile::openstack::codfw1dev::puppetmaster::web_hostname'))
  • cert_secret_path (Any) (defaults to: lookup('profile::openstack::codfw1dev::puppetmaster::cert_secret_path'))


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'modules/profile/manifests/openstack/codfw1dev/puppetmaster/frontend.pp', line 1

class profile::openstack::codfw1dev::puppetmaster::frontend(
    Array[Stdlib::Fqdn] $openstack_controllers = lookup('profile::openstack::codfw1dev::openstack_controllers'),
    Array[Stdlib::Fqdn] $designate_hosts = lookup('profile::openstack::codfw1dev::designate_hosts'),
    $puppetmasters = lookup('profile::openstack::codfw1dev::puppetmaster::servers'),
    $puppetmaster_ca = lookup('profile::openstack::codfw1dev::puppetmaster::ca'),
    $puppetmaster_webhostname = lookup('profile::openstack::codfw1dev::puppetmaster::web_hostname'),
    $cert_secret_path = lookup('profile::openstack::codfw1dev::puppetmaster::cert_secret_path'),
    ) {

    # until we dismantle labtestpuppetmaster we need some realm checking here to set this up on a VM
    if ( $::realm != 'labs' ) {
        require ::profile::openstack::codfw1dev::clientpackages
    }

    class {'::profile::openstack::base::puppetmaster::frontend':
        openstack_controllers    => $openstack_controllers,
        designate_hosts          => $designate_hosts,
        puppetmasters            => $puppetmasters,
        puppetmaster_ca          => $puppetmaster_ca,
        puppetmaster_webhostname => $puppetmaster_webhostname,
        cert_secret_path         => $cert_secret_path,
    }
}