(PA-8445) Pull released Facter from Artifactory#43
Merged
Conversation
The shared GitHub Action `unit_tests_with_nightly_puppet_gem.yaml` runs `gem install puppet.gem -N` to install a nightly Puppet build. Because no gem source was passed to that command, RubyGems resolved Puppet's Facter dependency against public rubygems.org, which still serves the last publicly-released Facter (4.10.0). The current released Facter gems live on Puppet Core, several versions ahead. Add `--source <artifactory-rubygems-mirror>` to that `gem install`. The mirror is the same URL the very next step already uses for `GEM_SOURCE` and is an Artifactory proxy for Puppet Core, so Facter resolves from there at the latest released version. Twingate is already connected earlier in the workflow, so no extra credentials are required. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
joshcooper
approved these changes
May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
--source <artifactory-rubygems-mirror>togem install puppet.gemin the sharedunit_tests_with_nightly_puppet_gem.yamlworkflow so Puppet's Facter runtime dependency is resolved from the Artifactory proxy of Puppet Core (latest released Facter) instead of public rubygems.org (stuck on Facter 4.10.0).Why
Without the source flag, RubyGems falls back to public rubygems.org for transitive deps. The latest Facter on public rubygems is 4.10.0, several versions behind the current released Facter on Puppet Core. The Artifactory mirror at
artifactory.delivery.puppetlabs.net/artifactory/api/gems/rubygems/is the same URL the next bundler step already uses forGEM_SOURCE, so the source choice is consistent across the job.Jira: PA-8445
Test plan
🤖 Generated with Claude Code