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

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

Overview

Parameters:

  • osstackcanary_pass (Any) (defaults to: hiera('profile::openstack::eqiad1::nova::fullstack_pass'))
  • openstack_controllers (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::eqiad1::openstack_controllers'))
  • region (Any) (defaults to: hiera('profile::openstack::eqiad1::region'))
  • network (Any) (defaults to: hiera('profile::openstack::eqiad1::nova::instance_network_id'))
  • puppetmaster (Any) (defaults to: hiera('profile::openstack::eqiad1::puppetmaster_hostname'))


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/eqiad1/nova/fullstack/service.pp', line 1

class profile::openstack::eqiad1::nova::fullstack::service(
    $osstackcanary_pass = hiera('profile::openstack::eqiad1::nova::fullstack_pass'),
    Array[Stdlib::Fqdn] $openstack_controllers = lookup('profile::openstack::eqiad1::openstack_controllers'),
    $region = hiera('profile::openstack::eqiad1::region'),
    $network = hiera('profile::openstack::eqiad1::nova::instance_network_id'),
    $puppetmaster = hiera('profile::openstack::eqiad1::puppetmaster_hostname'),
    ) {

    require ::profile::openstack::eqiad1::clientpackages
    class { '::profile::openstack::base::nova::fullstack::service':
        openstack_controllers => $openstack_controllers,
        osstackcanary_pass    => $osstackcanary_pass,
        region                => $region,
        network               => $network,
        puppetmaster          => $puppetmaster,
    }

    # We only want this running in one place; just pick the first
    #  option in the list.
    if ($::fqdn == $openstack_controllers[0]) {
        class {'::openstack::nova::fullstack::monitor':}
    }
}