Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit bc8ae3b

Browse files
committed
Merge pull request #60 from bramwelt/patch-2
Default to download from BinTray
2 parents f57b1d3 + b5d9c6a commit bc8ae3b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ or
3232
service => 'sonar',
3333
installroot => '/usr/local',
3434
home => '/var/local/sonar',
35-
download_url => 'http://downloads.sonarsource.com/sonarqube',
35+
download_url => 'https://sonarsource.bintray.com/Distribution/sonarqube'
3636
jdbc => $jdbc,
3737
web_java_opts => '-Xmx1024m',
3838
log_folder => '/var/local/sonar/logs',

manifests/init.pp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
$host = undef,
2323
$port = 9000,
2424
$portAjp = -1,
25-
# For version greater or equals to 5.2, $download_url must be set to 'https://sonarsource.bintray.com/Distribution/sonarqube'
26-
$download_url = 'http://downloads.sonarsource.com/sonarqube',
25+
$download_url = 'https://sonarsource.bintray.com/Distribution/sonarqube',
2726
$download_dir = '/usr/local/src',
2827
$context_path = '/',
2928
$arch = $sonarqube::params::arch,

spec/classes/init_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
context "when installing version 4", :compile do
88
let(:params) {{ :version => '4.5.5' }}
9-
it { should contain_wget__fetch('download-sonar').with_source('http://downloads.sonarsource.com/sonarqube/sonarqube-4.5.5.zip') }
9+
it { should contain_wget__fetch('download-sonar').with_source('https://sonarsource.bintray.com/Distribution/sonarqube/sonarqube-4.5.5.zip') }
1010
end
1111

1212
context "when crowd configuration is supplied", :compile do

0 commit comments

Comments
 (0)