@@ -123,23 +123,27 @@ else
123123  collection=' puppet' 
124124fi 
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
129129fi 
130130
131131if  [ -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' 
133135elif  [[ " $collection " ==  " puppetcore" *  ]];  then 
134136  yum_source=' https://yum-puppetcore.puppet.com/public' 
135137elif  [ " $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' 
137139else 
138140  yum_source=' http://yum.puppet.com' 
139141fi 
140142
141143if  [ -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' 
143147elif  [[ " $collection " ==  " puppetcore" *  ]];  then 
144148  apt_source=' https://apt-puppetcore.puppet.com/public' 
145149elif  [ " $nightly " =  true  ];  then 
150154
151155if  [ -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' 
153159elif  [[ " $collection " ==  " puppetcore" *  ]];  then 
154160  mac_source=' https://artifacts-puppetcore.puppet.com/v1/download' 
155161elif  [ " $nightly " =  true  ];  then 
0 commit comments