Skip to content

Commit

Permalink
Change default archive url (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Sapezhko authored Sep 29, 2021
1 parent d648f0e commit a4e44e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifests/install/archive.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
if versioncmp($zookeeper::archive_version, '3.5.5') >= 0 {
$filename = "apache-${module_name}-${zookeeper::archive_version}-bin"
$archive_dl_site = $zookeeper::archive_dl_site ? {
undef => 'http://apache.org/dist/zookeeper',
undef => 'https://downloads.apache.org/zookeeper',
default => $zookeeper::archive_dl_site,
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
let(:install_dir) { '/opt' }
let(:zoo_dir) { '/opt/zookeeper' }
let(:vers) { '3.5.5' }
let(:mirror_url) { 'http://apache.org/dist/zookeeper' }
let(:mirror_url) { 'https://downloads.apache.org/zookeeper' }
let(:basefilename) { "apache-zookeeper-#{vers}-bin.tar.gz" }
let(:package_url) { "#{mirror_url}/zookeeper-#{vers}/apache-zookeeper-#{vers}-bin.tar.gz" }
let(:extract_path) { "/opt/apache-zookeeper-#{vers}-bin" }
Expand Down

0 comments on commit a4e44e3

Please sign in to comment.