Puppet Class: profile::openstack::base::networktests

Defined in:
modules/profile/manifests/openstack/base/networktests.pp

Overview

Parameters:

  • region (String[1]) (defaults to: lookup('porfile::openstack::base::region'))
  • sshbastion (Stdlib::Fqdn) (defaults to: lookup('profile::openstack::base::networktests::sshbastion'))
  • envvars (Hash) (defaults to: lookup('profile::openstack::base::networktests::envvars'))
  • openstack_controllers (Array[Stdlib::Fqdn]) (defaults to: lookup('profile::openstack::base::openstack_controllers'))


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

class profile::openstack::base::networktests (
    String[1]           $region                = lookup('porfile::openstack::base::region'),
    Stdlib::Fqdn        $sshbastion            = lookup('profile::openstack::base::networktests::sshbastion'),
    Hash                $envvars               = lookup('profile::openstack::base::networktests::envvars'),
    Array[Stdlib::Fqdn] $openstack_controllers = lookup('profile::openstack::base::openstack_controllers'),
) {
    class { 'cmd_checklist_runner': }

    class { 'openstack::monitor::networktests':
        timer_active => false, # not providing a lot of value today
        #timer_active => ($::fqdn == $openstack_controllers[1]), # not [0] because decoupling
        region       => $region,
        sshbastion   => $sshbastion,
        envvars      => $envvars,
    }
}