Puppet Class: profile::openstack::eqiad1::designate::service

Defined in:
modules/profile/manifests/openstack/eqiad1/designate/service.pp

Overview

Parameters:

  • version (Any) (defaults to: hiera('profile::openstack::eqiad1::version'))
  • designate_hosts (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::eqiad1::designate_hosts'))
  • openstack_controllers (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::eqiad1::openstack_controllers'))
  • keystone_api_fqdn (Stdlib::Fqdn) (defaults to: lookup('profile::openstack::eqiad1::keystone_api_fqdn'))
  • puppetmaster_hostname (Any) (defaults to: hiera('profile::openstack::eqiad1::puppetmaster_hostname'))
  • db_pass (Any) (defaults to: hiera('profile::openstack::eqiad1::designate::db_pass'))
  • db_host (Any) (defaults to: hiera('profile::openstack::eqiad1::designate::db_host'))
  • domain_id_internal_forward (Any) (defaults to: hiera('profile::openstack::eqiad1::designate::domain_id_internal_forward'))
  • domain_id_internal_forward_legacy (Any) (defaults to: hiera('profile::openstack::eqiad1::designate::domain_id_internal_forward_legacy'))
  • domain_id_internal_reverse (Any) (defaults to: hiera('profile::openstack::eqiad1::designate::domain_id_internal_reverse'))
  • ldap_user_pass (Any) (defaults to: hiera('profile::openstack::eqiad1::ldap_user_pass'))
  • pdns_api_key (Any) (defaults to: lookup('profile::openstack::eqiad1::pdns::api_key'))
  • db_admin_pass (Any) (defaults to: hiera('profile::openstack::eqiad1::designate::db_admin_pass'))
  • pdns_hosts (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::eqiad1::pdns::hosts'))
  • rabbit_pass (Any) (defaults to: hiera('profile::openstack::eqiad1::nova::rabbit_pass'))
  • osm_host (Any) (defaults to: hiera('profile::openstack::eqiad1::osm_host'))
  • labweb_hosts (Any) (defaults to: hiera('profile::openstack::eqiad1::labweb_hosts'))
  • region (Any) (defaults to: hiera('profile::openstack::eqiad1::region'))
  • puppet_git_repo_name (Any) (defaults to: lookup('profile::openstack::eqiad1::horizon::puppet_git_repo_name'))
  • puppet_git_repo_user (Any) (defaults to: lookup('profile::openstack::eqiad1::horizon::puppet_git_repo_user'))
  • mcrouter_port (Integer) (defaults to: lookup('profile::openstack::eqiad1::designate::mcrouter_port'))


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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'modules/profile/manifests/openstack/eqiad1/designate/service.pp', line 1

class profile::openstack::eqiad1::designate::service(
    $version = hiera('profile::openstack::eqiad1::version'),
    Array[Stdlib::Fqdn] $designate_hosts = lookup('profile::openstack::eqiad1::designate_hosts'),
    Array[Stdlib::Fqdn] $openstack_controllers = lookup('profile::openstack::eqiad1::openstack_controllers'),
    Stdlib::Fqdn $keystone_api_fqdn = lookup('profile::openstack::eqiad1::keystone_api_fqdn'),
    $puppetmaster_hostname = hiera('profile::openstack::eqiad1::puppetmaster_hostname'),
    $db_pass = hiera('profile::openstack::eqiad1::designate::db_pass'),
    $db_host = hiera('profile::openstack::eqiad1::designate::db_host'),
    $domain_id_internal_forward = hiera('profile::openstack::eqiad1::designate::domain_id_internal_forward'),
    $domain_id_internal_forward_legacy = hiera('profile::openstack::eqiad1::designate::domain_id_internal_forward_legacy'),
    $domain_id_internal_reverse = hiera('profile::openstack::eqiad1::designate::domain_id_internal_reverse'),
    $ldap_user_pass = hiera('profile::openstack::eqiad1::ldap_user_pass'),
    $pdns_api_key = lookup('profile::openstack::eqiad1::pdns::api_key'),
    $db_admin_pass = hiera('profile::openstack::eqiad1::designate::db_admin_pass'),
    Array[Stdlib::Fqdn] $pdns_hosts = lookup('profile::openstack::eqiad1::pdns::hosts'),
    $rabbit_pass = hiera('profile::openstack::eqiad1::nova::rabbit_pass'),
    $osm_host = hiera('profile::openstack::eqiad1::osm_host'),
    $labweb_hosts = hiera('profile::openstack::eqiad1::labweb_hosts'),
    $region = hiera('profile::openstack::eqiad1::region'),
    $puppet_git_repo_name = lookup('profile::openstack::eqiad1::horizon::puppet_git_repo_name'),
    $puppet_git_repo_user = lookup('profile::openstack::eqiad1::horizon::puppet_git_repo_user'),
    Integer $mcrouter_port = lookup('profile::openstack::eqiad1::designate::mcrouter_port'),
) {

    require ::profile::openstack::eqiad1::clientpackages
    class{'::profile::openstack::base::designate::service':
        version                           => $version,
        designate_hosts                   => $designate_hosts,
        keystone_api_fqdn                 => $keystone_api_fqdn,
        db_pass                           => $db_pass,
        db_host                           => $db_host,
        domain_id_internal_forward        => $domain_id_internal_forward,
        domain_id_internal_forward_legacy => $domain_id_internal_forward_legacy,
        domain_id_internal_reverse        => $domain_id_internal_reverse,
        puppetmaster_hostname             => $puppetmaster_hostname,
        openstack_controllers             => $openstack_controllers,
        ldap_user_pass                    => $ldap_user_pass,
        pdns_api_key                      => $pdns_api_key,
        db_admin_pass                     => $db_admin_pass,
        pdns_hosts                        => $pdns_hosts,
        rabbit_pass                       => $rabbit_pass,
        osm_host                          => $osm_host,
        labweb_hosts                      => $labweb_hosts,
        region                            => $region,
        puppet_git_repo_name              => $puppet_git_repo_name,
        puppet_git_repo_user              => $puppet_git_repo_user,
        mcrouter_port                     => $mcrouter_port,
    }

    class {'::openstack::designate::monitor':
        active         => true,
        contact_groups => 'wmcs-team',
    }
}