From c1d800fe20be8f36d1c74a731e74f302e4634fda Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Tue, 27 May 2025 11:12:26 -0700 Subject: [PATCH] (PA-7432) Install server packages from internal nightlies Previously, we installed puppet-agent and puppetserver packages from public nightlies, but those are no longer updated. Switch to using internal nightlies instead, with these caveats: * I didn't change the nightly_apt_repo_url, because we only test with RHEL puppetservers during upgrade testing. * This change doesn't affect agent-only nodes. Those will be handled in PA-7431 --- acceptance/pre_suite/00_master_setup.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/acceptance/pre_suite/00_master_setup.rb b/acceptance/pre_suite/00_master_setup.rb index 457eb11d..615d6333 100644 --- a/acceptance/pre_suite/00_master_setup.rb +++ b/acceptance/pre_suite/00_master_setup.rb @@ -16,6 +16,7 @@ # Install a puppet-agent package on the master: test_name "Pre-Suite: Install puppet-agent #{description} on the master" do + install_options[:nightly_yum_repo_url] = 'https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/yum' install_puppet_agent_on(master, install_options) agent_version = puppet_agent_version_on(master) @@ -30,7 +31,10 @@ step 'Install puppetserver' do # puppetserver is distributed in "release streams" instead of collections. - opts = { release_stream: install_options[:puppet_collection] } + opts = { + release_stream: install_options[:puppet_collection], + nightly_yum_repo_url: 'https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/yum' + } install_puppetserver_on(master, opts)