Puppet Class: profile::openstack::eqiad1::nova::api::service

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

Overview

Parameters:

  • version (Any) (defaults to: lookup('profile::openstack::eqiad1::version'))
  • dhcp_domain (String) (defaults to: lookup('profile::openstack::eqiad1::nova::dhcp_domain', {default_value => 'example.com'}))
  • haproxy_nodes (Array[Stdlib::Host]) (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
18
# File 'modules/profile/manifests/openstack/eqiad1/nova/api/service.pp', line 1

class profile::openstack::eqiad1::nova::api::service(
    $version = lookup('profile::openstack::eqiad1::version'),
    String $dhcp_domain = lookup('profile::openstack::eqiad1::nova::dhcp_domain', {default_value => 'example.com'}),
    Array[Stdlib::Host] $haproxy_nodes = lookup('profile::openstack::eqiad1::haproxy_nodes'),
) {
    require ::profile::openstack::eqiad1::nova::common
    class {'profile::openstack::base::nova::api::service':
        version       => $version,
        dhcp_domain   => $dhcp_domain,
        haproxy_nodes => $haproxy_nodes,
    }

    class {'::openstack::nova::api::monitor':
        active         => true,
        critical       => false,
        contact_groups => 'wmcs-team-email',
    }
}