|
9 | 9 | } |
10 | 10 |
|
11 | 11 | node_group { 'PE Legacy Compiler': |
12 | | - ensure => 'present', |
13 | | - parent => 'PE Master', |
14 | | - purge_behavior => 'classes', |
15 | | - rule => ['=', ['trusted', 'extensions', 'pp_auth_role'], 'legacy_compiler'], |
16 | | - classes => { |
| 12 | + ensure => 'present', |
| 13 | + parent => 'PE Infrastructure', |
| 14 | + rule => ['=', ['trusted', 'extensions', 'pp_auth_role'], 'pe_compiler_legacy'], |
| 15 | + classes => { |
17 | 16 | 'puppet_enterprise::profile::master' => { |
18 | 17 | 'puppetdb_host' => [$internal_compiler_a_pool_address, $internal_compiler_b_pool_address].filter |$_| { $_ }, |
19 | 18 | 'puppetdb_port' => [8081], |
|
24 | 23 | } |
25 | 24 |
|
26 | 25 | node_group { 'PE Legacy Compiler Group A': |
27 | | - ensure => 'present', |
28 | | - parent => 'PE Legacy Compiler', |
29 | | - purge_behavior => 'classes', |
30 | | - rule => ['and', |
31 | | - ['=', ['trusted', 'extensions', 'pp_auth_role'], 'legacy_compiler'], |
| 26 | + ensure => 'present', |
| 27 | + parent => 'PE Legacy Compiler', |
| 28 | + rule => ['and', |
| 29 | + ['=', ['trusted', 'extensions', 'pp_auth_role'], 'pe_compiler_legacy'], |
32 | 30 | ['=', ['trusted', 'extensions', peadm::oid('peadm_availability_group')], 'A'], |
33 | 31 | ], |
34 | | - classes => { |
| 32 | + classes => { |
35 | 33 | 'puppet_enterprise::profile::master' => { |
36 | 34 | 'puppetdb_host' => [$internal_compiler_b_pool_address, $internal_compiler_a_pool_address].filter |$_| { $_ }, |
37 | 35 | 'puppetdb_port' => [8081], |
38 | 36 | }, |
39 | 37 | }, |
40 | | - data => { |
| 38 | + data => { |
41 | 39 | 'puppet_enterprise::profile::master::puppetdb' => { |
42 | 40 | 'ha_enabled_replicas' => [], |
43 | 41 | }, |
|
49 | 47 | parent => 'PE Legacy Compiler', |
50 | 48 | purge_behavior => 'classes', |
51 | 49 | rule => ['and', |
52 | | - ['=', ['trusted', 'extensions', 'pp_auth_role'], 'legacy_compiler'], |
| 50 | + ['=', ['trusted', 'extensions', 'pp_auth_role'], 'pe_compiler_legacy'], |
53 | 51 | ['=', ['trusted', 'extensions', peadm::oid('peadm_availability_group')], 'B'], |
54 | 52 | ], |
55 | 53 | classes => { |
|
0 commit comments