Puppet Plan: peadm::add_compiler

Defined in:
plans/add_compiler.pp

Summary

Proxy plan for peadm::add_compilers.

Overview

Parameters:

  • avail_group_letter (Enum['A', 'B']) (defaults to: 'A')

    _ Either A or B; whichever of the two letter designations the compiler are being assigned to

  • compiler_host (Peadm::SingleTargetSpec)

    _ The hostname and certname of the new compiler

  • dns_alt_names (Optional[String[1]]) (defaults to: undef)

    _ A comma-separated list of DNS alt names for the compiler.

  • primary_host (Peadm::SingleTargetSpec)

    _ The hostname and certname of the primary Puppet server

  • primary_postgresql_host (Optional[Peadm::SingleTargetSpec]) (defaults to: undef)

    _ The hostname and certname of the PE-PostgreSQL server with availability group $avail_group_letter



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'plans/add_compiler.pp', line 9

plan peadm::add_compiler(
  Enum['A', 'B'] $avail_group_letter = 'A' ,
  Optional[String[1]] $dns_alt_names = undef,
  Peadm::SingleTargetSpec $compiler_host,
  Peadm::SingleTargetSpec $primary_host,
  Optional[Peadm::SingleTargetSpec] $primary_postgresql_host = undef,
) {
  out::message('Warning: The add_compiler plan is deprecated and will be removed in a future release. Please use the add_compilers plan instead. ')
  run_plan('peadm::add_compilers',
    avail_group_letter      => $avail_group_letter,
    dns_alt_names           => $dns_alt_names ? { undef => undef, default => Array($dns_alt_names) },
    compiler_hosts          => $compiler_host,
    primary_host            => $primary_host,
    primary_postgresql_host => $primary_postgresql_host,
  )
}