Skip to content

Comments

Document node group configuration migration to puppet-enterprise-modules#643

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/move-node-groups-configuration
Draft

Document node group configuration migration to puppet-enterprise-modules#643
Copilot wants to merge 4 commits intomainfrom
copilot/move-node-groups-configuration

Conversation

Copy link

Copilot AI commented Jan 14, 2026

Summary

Node group configuration is PE infrastructure concern, not PEADM orchestration. This PR marks all node group management code for migration to puppet-enterprise-modules with TODO comments and comprehensive documentation.

Files marked for migration:

  • manifests/setup/node_manager.pp - Creates PE infrastructure node groups (Primary A/B, Compiler Groups, Database, etc.)
  • manifests/setup/node_manager_yaml.pp - Bolt apply configuration helper
  • manifests/setup/legacy_compiler_group.pp - Legacy compiler node groups
  • manifests/setup/convert_node_manager.pp - PEADM 2.x→3.x migration helper

Usage points annotated:

  • plans/subplans/configure.pp - Initial install
  • plans/upgrade.pp - PE upgrades
  • plans/convert.pp - Installation conversions
  • plans/convert_compiler_to_legacy.pp - Compiler conversions
  • plans/util/update_classification.pp - Classification updates

Documentation added:

  • documentation/node_group_migration.md - Migration plan, current state, target architecture
  • Updated README.md with migration doc reference
  • CHANGELOG.md entry

All changes are documentation/comments only. No functional code modified. See https://github.com/puppetlabs/puppet-enterprise-modules/tree/main/modules

Additional Context

Node group configuration manages PE's own infrastructure classification - belongs with PE modules, not deployment tooling. Current implementation works but creates coupling between PEADM and PE internals. Migration enables PE team to maintain PE-specific configuration directly.

Related Issues (if any)

N/A

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
Original prompt

install.pp has configuration step for creating node groups. This needs to be moved into https://github.com/puppetlabs/puppet-enterprise-modules/tree/main/modules


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits January 14, 2026 15:29
…terprise-modules

Co-authored-by: skay-perf <237744184+skay-perf@users.noreply.github.com>
Co-authored-by: skay-perf <237744184+skay-perf@users.noreply.github.com>
Co-authored-by: skay-perf <237744184+skay-perf@users.noreply.github.com>
Copilot AI changed the title [WIP] Move node groups configuration to puppet enterprise modules Document node group configuration migration to puppet-enterprise-modules Jan 14, 2026
Copilot AI requested a review from skay-perf January 14, 2026 15:34
# @summary Used during the peadm::convert plan
#
# TODO: This class should be moved to puppet-enterprise-modules
# See: https://github.com/puppetlabs/puppet-enterprise-modules/tree/main/modules
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a puppet-strings tag that you can use, @see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants