Install encapic ENC client on puppet masters #525

Merged
benvin merged 2 commits from benvin/encapic-install into develop 2026-09-20 00:32:40 +10:00
Member

The VM masters classify through the cobbler ENC while the k8s compilers
already use encapi. Install the client ahead of that cutover;
external_nodes still points at cobbler-enc, so classification is unchanged.

  • pin the encapic package to 0.2.0 via profiles::packages::include
  • add profiles::puppet::encapic managing /etc/encapic/encapic.conf from a
    hiera-driven ENCAPI_URL, ordered after Package['encapic'] so the config is
    written once the RPM that owns the path is installed
  • include the class from profiles::puppet::puppetmaster

Requires encapic 0.2.0 in the rpm-internal repo.

The VM masters classify through the cobbler ENC while the k8s compilers already use encapi. Install the client ahead of that cutover; external_nodes still points at cobbler-enc, so classification is unchanged. - pin the encapic package to 0.2.0 via profiles::packages::include - add profiles::puppet::encapic managing /etc/encapic/encapic.conf from a hiera-driven ENCAPI_URL, ordered after Package['encapic'] so the config is written once the RPM that owns the path is installed - include the class from profiles::puppet::puppetmaster Requires encapic 0.2.0 in the rpm-internal repo.
unkin-agent added 1 commit 2026-09-19 23:37:46 +10:00
Install encapic ENC client on puppet masters
ci/woodpecker/pr/ruby-validate Pipeline was successful
ci/woodpecker/pr/yamllint Pipeline was successful
ci/woodpecker/pr/puppet-lint Pipeline was successful
ci/woodpecker/pr/erb-validate Pipeline was successful
ci/woodpecker/pr/bolt-validate Pipeline was successful
ci/woodpecker/pr/epp-validate Pipeline was successful
ci/woodpecker/pr/puppet-validate Pipeline was successful
ci/woodpecker/pr/ruby-check Pipeline was successful
6c5e894018
The VM masters classify through the cobbler ENC while the k8s compilers
already use encapi. Install the client ahead of that cutover;
external_nodes still points at cobbler-enc, so classification is unchanged.

- pin the encapic package to 0.2.0 via profiles::packages::include
- add profiles::puppet::encapic managing /etc/encapic/encapic.conf from a
  hiera-driven ENCAPI_URL, ordered after profiles::packages
- include the class from profiles::puppet::puppetmaster
unkin-agent added 1 commit 2026-09-19 23:52:47 +10:00
Require Package[encapic] for the encapic config dir
ci/woodpecker/pr/puppet-lint Pipeline was successful
ci/woodpecker/pr/ruby-validate Pipeline was successful
ci/woodpecker/pr/bolt-validate Pipeline was successful
ci/woodpecker/pr/yamllint Pipeline was successful
ci/woodpecker/pr/erb-validate Pipeline was successful
ci/woodpecker/pr/epp-validate Pipeline was successful
ci/woodpecker/pr/ruby-check Pipeline was successful
ci/woodpecker/pr/puppet-validate Pipeline was successful
f01ef43ae9
benvin merged commit cf25a20a92 into develop 2026-09-20 00:32:40 +10:00
benvin deleted branch benvin/encapic-install 2026-09-20 00:32:41 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/puppet-prod#525