Shorten metadata_expire on internal RPM repos #526

Merged
benvin merged 1 commits from benvin/rpm-internal-metadata-expire into develop 2026-09-20 00:55:20 +10:00
Member

A package pinned in hieradata right after its RPM lands in artifactapi is invisible to dnf until the host's 1h cached metadata expires, so the first Puppet run after a release cannot find the version.

  • Set metadata_expire 60s on rpm-internal/rpm-vendor and their per-release variants for AlmaLinux and Fedora
  • Leave upstream mirrors on the 1h default
  • Drop the stale expiry note in profiles::dns::updater
A package pinned in hieradata right after its RPM lands in artifactapi is invisible to dnf until the host's 1h cached metadata expires, so the first Puppet run after a release cannot find the version. - Set `metadata_expire` 60s on `rpm-internal`/`rpm-vendor` and their per-release variants for AlmaLinux and Fedora - Leave upstream mirrors on the 1h default - Drop the stale expiry note in `profiles::dns::updater`
unkin-agent added 1 commit 2026-09-20 00:51:12 +10:00
Shorten metadata_expire on internal RPM repos
ci/woodpecker/pr/yamllint Pipeline was successful
ci/woodpecker/pr/ruby-validate Pipeline was successful
ci/woodpecker/pr/bolt-validate Pipeline was successful
ci/woodpecker/pr/puppet-lint 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
86cc00ab3d
A package pinned in hieradata right after its RPM lands in artifactapi is
invisible to dnf until the host's 1h cached metadata expires, so the first
Puppet run after a release cannot find the version.

- Set metadata_expire 60s on rpm-internal/rpm-vendor and their per-release
  variants for AlmaLinux and Fedora
- Leave upstream mirrors on the 1h default
- Drop the stale expiry note in profiles::dns::updater
benvin merged commit 1a907467e9 into develop 2026-09-20 00:55:20 +10:00
benvin deleted branch benvin/rpm-internal-metadata-expire 2026-09-20 00:55:20 +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#526