Skip to content

Commit f981470

Browse files
committed
(PA-7608) Update artifactory URLs for puppetcore nightlies
1 parent 1dd09ad commit f981470

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tasks/install_shell.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,23 +123,27 @@ else
123123
collection='puppet'
124124
fi
125125

126-
if [[ "$collection" == "puppetcore"* && -z "$password" ]]; then
126+
if [[ "$collection" != 'puppetcore8-nightly' && "$collection" == "puppetcore"* && -z "$password" ]]; then
127127
echo "A password parameter is required to install from puppetcore"
128128
exit 1
129129
fi
130130

131131
if [ -n "$PT_yum_source" ]; then
132132
yum_source=$PT_yum_source
133+
elif [[ "$collection" == "puppetcore8-nightly" ]]; then
134+
yum_source='https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/yum'
133135
elif [[ "$collection" == "puppetcore"* ]]; then
134136
yum_source='https://yum-puppetcore.puppet.com/public'
135137
elif [ "$nightly" = true ]; then
136-
yum_source='https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/yum'
138+
yum_source='http://nightlies.puppet.com/yum'
137139
else
138140
yum_source='http://yum.puppet.com'
139141
fi
140142

141143
if [ -n "$PT_apt_source" ]; then
142144
apt_source=$PT_apt_source
145+
elif [[ "$collection" == "puppetcore8-nightly" ]]; then
146+
apt_source='https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/apt'
143147
elif [[ "$collection" == "puppetcore"* ]]; then
144148
apt_source='https://apt-puppetcore.puppet.com/public'
145149
elif [ "$nightly" = true ]; then
@@ -150,6 +154,8 @@ fi
150154

151155
if [ -n "$PT_mac_source" ]; then
152156
mac_source=$PT_mac_source
157+
elif [[ "$collection" == "puppetcore8-nightly" ]]; then
158+
mac_source='https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/downloads'
153159
elif [[ "$collection" == "puppetcore"* ]]; then
154160
mac_source='https://artifacts-puppetcore.puppet.com/v1/download'
155161
elif [ "$nightly" = true ]; then

0 commit comments

Comments
 (0)