This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commands: | |
00_download_jdk7: | |
command: wget --no-cookies --no-check-certificate --header "Cookie:gpw_e24=xxx;oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.rpm" -O /etc/tomcat7/jdk7-oracle.rpm | |
test: test ! -f /etc/tomcat7/oracle-jdk7-installed.txt | |
01_install_oracle_jdk7: | |
command: yum -y install jdk7-oracle.rpm | |
cwd: /etc/tomcat7 | |
test: test ! -f /etc/tomcat7/oracle-jdk7-installed.txt && md5sum -c - <<<"b516630a940d83b066cf1e6479ec59fe jdk7-oracle.rpm" |