File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class { 'epel': }
5959
6060def latest_tomcat_tarball_url ( version )
6161 require 'net/http'
62- page = Net ::HTTP . get ( URI ( "http ://tomcat.apache.org/download-#{ version } 0.cgi" ) )
62+ page = Net ::HTTP . get ( URI ( "https ://tomcat.apache.org/download-#{ version } 0.cgi" ) )
6363
6464 url = ( ( match = page . match ( %r{https?://.*?apache-tomcat-(.{4,9}).tar.gz} ) ) && match [ 0 ] )
6565 return url if url
@@ -86,7 +86,7 @@ def latest_tomcat_tarball_url(version)
8686TOMCAT9_RECENT_SOURCE = latest9
8787puts "TOMCAT9_RECENT_SOURCE is #{ TOMCAT9_RECENT_SOURCE . inspect } "
8888
89- SAMPLE_WAR = 'http ://tomcat.apache.org/tomcat-9.0-doc/appdev/sample/sample.war'
89+ SAMPLE_WAR = 'https ://tomcat.apache.org/tomcat-9.0-doc/appdev/sample/sample.war'
9090
9191confine_8_array = [
9292 ( os [ :family ] . include? ( 'redhat' ) && os [ :release ] . start_with? ( '5' ) ) ,
You can’t perform that action at this time.
0 commit comments