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-39412) PEADM should be able to add multiple compilers at once without requiring service restarts on Primary #512

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

CoMfUcIoS
Copy link
Contributor

@CoMfUcIoS CoMfUcIoS commented Oct 7, 2024

Summary

  • Renamed peadm::add_compiler plan to peadm::add_compilers to support adding multiple compilers.
  • Updated parameter compiler_host to compiler_hosts to accept an array of compiler targets.
  • Modified dns_alt_names parameter to accept an array of strings, each representing a comma-separated list of DNS alt names.
  • Updated all references in documentation and tests to reflect the new plan name.
  • Enhanced the plan to handle multiple compilers in parallel, including updating PostgreSQL configurations and running necessary tasks on each compiler.

BREAKING CHANGE: The plan peadm::add_compiler has been renamed to peadm::add_compilers and now supports adding multiple compilers simultaneously.

Related Issues (if any)

#335

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.

Changes include test coverage?

  • Yes
  • Not needed

Have you updated the documentation?

  • Yes, I've updated the appropriate docs
  • Not needed

- Renamed `peadm::add_compiler` plan to `peadm::add_compilers` to support adding multiple compilers.
- Updated parameter `compiler_host` to `compiler_hosts` to accept an array of compiler targets.
- Modified `dns_alt_names` parameter to accept an array of strings, each representing a comma-separated list of DNS alt names.
- Updated all references in documentation and tests to reflect the new plan name.
- Enhanced the plan to handle multiple compilers in parallel, including updating PostgreSQL configurations and running necessary tasks on each compiler.

BREAKING CHANGE: The plan `peadm::add_compiler` has been renamed to `peadm::add_compilers` and now supports adding multiple compilers simultaneously.
- Introduced a new plan `peadm::add_compiler` as a proxy for `peadm::add_compilers`.
- Added documentation for the new plan in REFERENCE.md.
- Parameters include `avail_group_letter`, `compiler_host`, `dns_alt_names`, `primary_host`, and `primary_postgresql_host`.
- The plan outputs a deprecation message and calls `peadm::add_compilers` with the provided parameters.
@CoMfUcIoS CoMfUcIoS merged commit 315d4ea into puppetlabs:main Oct 14, 2024
71 checks passed
@CoMfUcIoS CoMfUcIoS deleted the PE-39412 branch October 14, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PEADM should be able to add multiple compilers at once without requiring service restarts on Primary
2 participants