Skip to content

Commit a9bbea7

Browse files
authored
Merge pull request #759 from joshcooper/revert_puppetcore
2 parents 5995fa8 + 906cc59 commit a9bbea7

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

task_spec/spec/acceptance/init_spec.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ def latest_platform_list
4848
}x
4949
end
5050

51+
# This method lists sources to be used when installing packages that haven't been released yet (see above).
52+
def latest_sources
53+
{
54+
'yum_source' => 'https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/yum',
55+
'apt_source' => 'https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/apt',
56+
'mac_source' => 'https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/downloads',
57+
'windows_source' => 'https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/downloads',
58+
}
59+
end
60+
5161
it 'works with version and install tasks' do
5262
case target_platform
5363
when latest_platform_list
@@ -57,7 +67,7 @@ def latest_platform_list
5767
# Install an puppet8 nightly version
5868
results = run_task('puppet_agent::install', 'target', { 'collection' => 'puppet8-nightly',
5969
'version' => 'latest',
60-
'stop_service' => true })
70+
'stop_service' => true }.merge(latest_sources))
6171

6272
results.each do |result|
6373
logger.info("Installed puppet-agent on #{result['target']}: #{result['status']}")

tasks/install_shell.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ if [ -n "$PT_yum_source" ]; then
117117
yum_source=$PT_yum_source
118118
else
119119
if [ "$nightly" = true ]; then
120-
yum_source='https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/yum'
120+
yum_source='http://nightlies.puppet.com/yum'
121121
else
122122
yum_source='http://yum.puppet.com'
123123
fi
@@ -137,7 +137,7 @@ if [ -n "$PT_mac_source" ]; then
137137
mac_source=$PT_mac_source
138138
else
139139
if [ "$nightly" = true ]; then
140-
mac_source='https://artifactory.delivery.puppetlabs.net:443/artifactory/internal_nightly__local/downloads'
140+
mac_source='http://nightlies.puppet.com/downloads'
141141
else
142142
mac_source='http://downloads.puppet.com'
143143
fi

0 commit comments

Comments
 (0)