|
20 | 20 | default => $primary_target.peadm::certname(), |
21 | 21 | }, |
22 | 22 | } |
| 23 | + |
| 24 | + class { 'peadm::setup::legacy_compiler_group': |
| 25 | + primary_host => $primary_target.peadm::certname() ? { |
| 26 | + undef => $primary_target, |
| 27 | + default => $primary_target.peadm::certname(), |
| 28 | + }, |
| 29 | + internal_compiler_a_pool_address => $cluster['params']['internal_compiler_a_pool_address'], |
| 30 | + internal_compiler_b_pool_address => $cluster['params']['internal_compiler_b_pool_address'], |
| 31 | + require => Class['peadm::setup::node_manager_yaml'], |
| 32 | + } |
23 | 33 | } |
24 | 34 |
|
25 | 35 | $replica_host = getvar('cluster.params.replica_host') |
|
123 | 133 | run_command('puppet resource service pe-puppetdb ensure=stopped enable=false', $convert_legacy_compiler_targets) |
124 | 134 | } |
125 | 135 |
|
126 | | - apply($primary_target) { |
127 | | - class { 'peadm::setup::node_manager_yaml': |
128 | | - primary_host => $primary_target.peadm::certname() ? { |
129 | | - undef => $primary_target, |
130 | | - default => $primary_target.peadm::certname(), |
131 | | - }, |
132 | | - } |
133 | | - |
134 | | - class { 'peadm::setup::legacy_compiler_group': |
135 | | - primary_host => $primary_target.peadm::certname() ? { |
136 | | - undef => $primary_target, |
137 | | - default => $primary_target.peadm::certname(), |
138 | | - }, |
139 | | - internal_compiler_a_pool_address => $cluster['params']['internal_compiler_a_pool_address'], |
140 | | - internal_compiler_b_pool_address => $cluster['params']['internal_compiler_b_pool_address'], |
141 | | - require => Class['peadm::setup::node_manager_yaml'], |
142 | | - } |
143 | | - } |
144 | | - |
145 | 136 | run_task('peadm::puppet_runonce', $convert_legacy_compiler_targets) |
146 | 137 | run_task('peadm::puppet_runonce', $compiler_targets) |
147 | 138 | run_task('peadm::puppet_runonce', $primary_target) |
|
0 commit comments