Puppet Class: psick::puppet::pe_console

Defined in:
manifests/puppet/pe_console.pp

Overview

This class manages tp::test for PE Console

Parameters:

  • manage (Boolean) (defaults to: $psick::manage)
  • noop_manage (Boolean) (defaults to: $psick::noop_manage)
  • noop_value (Boolean) (defaults to: $psick::noop_value)


3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'manifests/puppet/pe_console.pp', line 3

class psick::puppet::pe_console (
  Boolean $manage                  = $psick::manage,
  Boolean $noop_manage             = $psick::noop_manage,
  Boolean $noop_value              = $psick::noop_value,
) {
  if $manage {
    if $noop_manage {
      noop($noop_value)
    }

    $nginx_settings = {
      package_name => 'pe-nginx',
      service_name => 'pe-nginx',
    }
    tp::test { 'nginx': settings_hash => $nginx_settings }
  }
}