Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(PE-37235) Verify and update documentation on add_compiler #429

Merged
merged 10 commits into from
Aug 21, 2024
10 changes: 5 additions & 5 deletions documentation/add_compiler.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Add Compiler to support PCP
# Add Compiler

The peadm::add_compler plan can be used to add a new compiler to a PE architecture or replace an existing one with new configuration.
The peadm::add_compiler plan can be used to add a new compiler to a PE architecture or replace an existing one with new configuration.

## Add compiler to an exising PE instance

Expand All @@ -24,10 +24,10 @@ See the [install](install.md#reference-architectures) documentation for a list o
bolt plan run peadm::add_compiler --params @params.json
```

This call will retreive the current peadm config to determain the setup rules needed for a compiler's secondary PuppetDB instances. The provided server will be configured with the appropriate rules for Puppet Server access from compiler. The puppet.service will be stopped and the pe-postgresql.service will be reloaded. If required and agent ewill be installed and regenerated agent certificate to add required data with peadm::subplans::component_install. Puppet agent will run on the following components;
This call will retreive the current peadm config to determain the setup rules needed for a compiler's secondary PuppetDB instances. The provided server will be configured with the appropriate rules for Puppet Server access from compiler. The puppet.service will be stopped and the pe-postgresql.service will be reloaded. If required and agent will be installed and regenerated agent certificate to add required data with peadm::subplans::component_install. Puppet agent will run on the following components
* _\<compiler-host\>_
* _\<primary_postgresql_host\>_
* _\<replica puppetdb\>_
* _\<replica postgres host\>_
* _\<primary_postgresql_host\>_

The puppet.service will be restarted
The puppet.service will then be restarted
2 changes: 1 addition & 1 deletion plans/add_compiler.pp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
# On <primary_postgresql_host> run the puppet agent
run_task('peadm::puppet_runonce', $primary_postgresql_target)

# On replica puppetdb run the puppet agent
# On replica postgres host run the puppet agent
run_task('peadm::puppet_runonce', $replica_puppetdb_target)

# On <primary_postgresql_host> start puppet.service
Expand Down
Loading