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

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

Overview

SPDX-License-Identifier: Apache-2.0

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_control_nodes (Array[OpenStack::ControlNode]) (defaults to: lookup('profile::openstack::base::openstack_control_nodes'))


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

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[OpenStack::ControlNode] $openstack_control_nodes = lookup('profile::openstack::base::openstack_control_nodes'),
) {
    class { 'cmd_checklist_runner': }

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