From f981470d9fd75fac89eb27b55dcd4ed4dc687503 Mon Sep 17 00:00:00 2001 From: skyamgarp <130442619+skyamgarp@users.noreply.github.com> Date: Mon, 21 Jul 2025 12:42:56 +0530 Subject: [PATCH] (PA-7608) Update artifactory URLs for puppetcore nightlies --- tasks/install_shell.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tasks/install_shell.sh b/tasks/install_shell.sh index 00bd314c..13d152a5 100644 --- a/tasks/install_shell.sh +++ b/tasks/install_shell.sh @@ -123,23 +123,27 @@ else collection='puppet' fi -if [[ "$collection" == "puppetcore"* && -z "$password" ]]; then +if [[ "$collection" != 'puppetcore8-nightly' && "$collection" == "puppetcore"* && -z "$password" ]]; then echo "A password parameter is required to install from puppetcore" exit 1 fi if [ -n "$PT_yum_source" ]; then yum_source=$PT_yum_source +elif [[ "$collection" == "puppetcore8-nightly" ]]; then + yum_source='https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/yum' elif [[ "$collection" == "puppetcore"* ]]; then yum_source='https://yum-puppetcore.puppet.com/public' elif [ "$nightly" = true ]; then - yum_source='https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/yum' + yum_source='http://nightlies.puppet.com/yum' else yum_source='http://yum.puppet.com' fi if [ -n "$PT_apt_source" ]; then apt_source=$PT_apt_source +elif [[ "$collection" == "puppetcore8-nightly" ]]; then + apt_source='https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/apt' elif [[ "$collection" == "puppetcore"* ]]; then apt_source='https://apt-puppetcore.puppet.com/public' elif [ "$nightly" = true ]; then @@ -150,6 +154,8 @@ fi if [ -n "$PT_mac_source" ]; then mac_source=$PT_mac_source +elif [[ "$collection" == "puppetcore8-nightly" ]]; then + mac_source='https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/downloads' elif [[ "$collection" == "puppetcore"* ]]; then mac_source='https://artifacts-puppetcore.puppet.com/v1/download' elif [ "$nightly" = true ]; then