Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spec/spec_helper_acceptance_local.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class { 'epel': }

def latest_tomcat_tarball_url(version)
require 'net/http'
page = Net::HTTP.get(URI("http://tomcat.apache.org/download-#{version}0.cgi"))
page = Net::HTTP.get(URI("https://tomcat.apache.org/download-#{version}0.cgi"))

url = ((match = page.match(%r{https?://.*?apache-tomcat-(.{4,9}).tar.gz})) && match[0])
return url if url
Expand All @@ -86,7 +86,7 @@ def latest_tomcat_tarball_url(version)
TOMCAT9_RECENT_SOURCE = latest9
puts "TOMCAT9_RECENT_SOURCE is #{TOMCAT9_RECENT_SOURCE.inspect}"

SAMPLE_WAR = 'http://tomcat.apache.org/tomcat-9.0-doc/appdev/sample/sample.war'
SAMPLE_WAR = 'https://tomcat.apache.org/tomcat-9.0-doc/appdev/sample/sample.war'

confine_8_array = [
(os[:family].include?('redhat') && os[:release].start_with?('5')),
Expand Down