From ef581803713991b0b5aa675b82571443a4df194a Mon Sep 17 00:00:00 2001 From: Michael Hashizume Date: Wed, 27 May 2026 11:19:20 -0700 Subject: [PATCH] (PA-8445) Pull released Facter from Artifactory 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 ` 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) --- .github/workflows/unit_tests_with_nightly_puppet_gem.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml b/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml index 30c3187..3771305 100644 --- a/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml +++ b/.github/workflows/unit_tests_with_nightly_puppet_gem.yaml @@ -51,7 +51,7 @@ jobs: run: | ${{ matrix.extra_steps }} curl https://artifactory.delivery.puppetlabs.net/artifactory/internal_nightly__local/downloads/gems/puppet${{ matrix.puppet_version }}-nightly/${{ matrix.gem_file }} --output puppet.gem --location - gem install puppet.gem -N + gem install puppet.gem -N --source https://artifactory.delivery.puppetlabs.net/artifactory/api/gems/rubygems/ - name: Prepare testing environment with bundler env: