File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed
Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,17 @@ fetch_osfamily() {
5959}
6060
6161fetch_collection () {
62- myarr=()
63- for x in $( echo " $1 " | tr " -" " \n" )
64- do
65- myarr+=(" $x " )
66- done
67- echo " ${myarr[0]} "
62+ # Handle puppetcore8-nightly -> puppet8-nightly conversion
63+ if [[ " $1 " == puppetcore8* ]]; then
64+ echo " ${1/ puppetcore8/ puppet8} "
65+ else
66+ myarr=()
67+ for x in $( echo " $1 " | tr " -" " \n" )
68+ do
69+ myarr+=(" $x " )
70+ done
71+ echo " ${myarr[0]} "
72+ fi
6873}
6974
7075fetch_codename () {
@@ -157,15 +162,15 @@ if [[ "$osfamily" == "debian" ]]; then
157162 echo " No builds for $platform "
158163 exit 1
159164 else
160- run_cmd " curl -o puppet.deb http ://apt. puppetlabs.com /${collection} -release-${codename} .deb"
165+ run_cmd " curl -o puppet.deb https ://artifactory.delivery. puppetlabs.net:443/artifactory/internal_nightly__local/apt /${collection} -release-${codename} .deb"
161166 dpkg -i --force-confmiss puppet.deb
162167 apt-get update -y
163168 apt-get install puppetserver -y
164169 fi
165170fi
166171
167172if [[ " $osfamily " == " redhat" ]]; then
168- run_cmd " curl -o puppet.rpm http ://yum. puppetlabs.com /${collection} -release-el-${major_version} .noarch.rpm"
173+ run_cmd " curl -o puppet.rpm https ://artifactory.delivery. puppetlabs.net:443/artifactory/internal_nightly__local/yum /${collection} -release-el-${major_version} .noarch.rpm"
169174 rpm -Uvh puppet.rpm --quiet
170175 yum install puppetserver -y --quiet
171176fi
You can’t perform that action at this time.
0 commit comments