Skip to content

Commit 45a3d54

Browse files
committed
docs: update upgrade_with_legacy_compilers.md with remove_pdb parameter info
- Added information about the `remove_pdb` parameter to the documentation. - Updated `convert_compiler_to_legacy` plan to set `remove_pdb` default to `true`. This change provides clarity on how to retain PuppetDB service on converted compilers.
1 parent 6472fed commit 45a3d54

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

documentation/upgrade_with_legacy_compilers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ bolt plan run peadm::convert_compiler_to_legacy legacy_hosts=compiler1.example.c
4040

4141
The above will create the needed Node group and Classifier rules to make the compilers legacy. Also will add certificate extensions to those nodes.
4242

43+
If you want to keep puppetDB service on the converted compilers, you can do so by passing the `remove_pdb` parameter as `false`.
44+
4345
### 4. Upgrade Puppet Enterprise
4446

4547
After you have completed the above steps, you can proceed with the upgrade of Puppet Enterprise as usual using the puppetlabs-peadm module. There is no need to do the above ever again.

plans/convert_compiler_to_legacy.pp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
plan peadm::convert_compiler_to_legacy (
33
Peadm::SingleTargetSpec $primary_host,
44
TargetSpec $legacy_hosts,
5-
Boolean $remove_pdb = false,
5+
Boolean $remove_pdb = true,
66
) {
77
$primary_target = peadm::get_targets($primary_host, 1)
88
$legacy_compiler_targets = peadm::get_targets($legacy_hosts)
@@ -39,7 +39,6 @@
3939
primary_host => $primary_target.peadm::certname(),
4040
internal_compiler_a_pool_address => $cluster['params']['internal_compiler_a_pool_address'],
4141
internal_compiler_b_pool_address => $cluster['params']['internal_compiler_b_pool_address'],
42-
require => Class['peadm::setup::node_manager_yaml'],
4342
}
4443
}
4544

0 commit comments

Comments
 (0)