Run detached noop agent after k8s migration repoint #561

Merged
benvin merged 1 commits from benvin/puppet-migrate-noop-run into develop 2026-10-25 12:39:01 +11:00
Member

Migrated nodes have no facts or exported resources in the k8s PuppetDB until their next agent run (up to splay + runinterval), which breaks exported-resource discovery for services migrated as a group. A noop run registers both at compile time.

  • add a refreshonly exec in profiles::puppet::migrate, subscribed to puppet.conf, that launches a detached noop agent run via systemd-run
  • skip the exec while a previous puppet-migrate-noop unit is still active
Migrated nodes have no facts or exported resources in the k8s PuppetDB until their next agent run (up to splay + runinterval), which breaks exported-resource discovery for services migrated as a group. A noop run registers both at compile time. - add a refreshonly exec in profiles::puppet::migrate, subscribed to puppet.conf, that launches a detached noop agent run via systemd-run - skip the exec while a previous puppet-migrate-noop unit is still active
unkin-agent added 1 commit 2026-10-25 12:15:13 +11:00
Run detached noop agent after k8s migration repoint
ci/woodpecker/pr/ruby-validate Pipeline was successful
ci/woodpecker/pr/puppet-lint Pipeline was successful
ci/woodpecker/pr/yamllint Pipeline was successful
ci/woodpecker/pr/bolt-validate Pipeline was successful
ci/woodpecker/pr/erb-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
c984bcec34
Author
Member

No findings.

No findings.
benvin merged commit faf96a1dca into develop 2026-10-25 12:39:01 +11:00
benvin deleted branch benvin/puppet-migrate-noop-run 2026-10-25 12:39:01 +11: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#561