Puppet Plan: cd4peadm::install::roles::ui

Defined in:
plans/install/roles/ui.pp

Overview

Calls the manifests needed to install and configure the UI role

Parameters:

  • config (Cd4peadm::Config)

    Cd4peadm::Config object with all config options

Returns:

  • Does not return anything



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'plans/install/roles/ui.pp', line 8

plan cd4peadm::install::roles::ui(
  Cd4peadm::Config $config,
) {
  run_plan('cd4peadm::install::configure_ssl_termination',
    config => $config,
  )

  $apply_options = {
    '_run_as' => 'root',
    '_description' => 'install and configure application components for role: UI ',
  }

  apply($config['roles']['ui']['targets'], $apply_options) {
    class { 'cd4peadm':
      runtime => $config['runtime'],
    }

    class { 'cd4peadm::component::teams_ui':
      config => $config['roles']['ui']['services']['ui'],
    }
  }
}