Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| authors: | |
| hanzou: | |
| name: Hanzou Hattori | |
| display_name: Hanzou | |
| gravatar: c66919cb194f96c696c1da0c47354a6a | |
| email: [email protected] | |
| web: http://company.com | |
| twitter: company | |
| github: hhattori | |
| jorgen: |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| # First verify the version of Java being used is not SunJSK. | |
| java -version | |
| # Get the latest Sun Java SDK from Oracle http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html | |
| wget http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-i586.rpm | |
| # Rename the file downloaded, just to be nice | |
| mv jdk-7u1-linux-i586.rpm\?e\=1320265424\&h\=916f87354faed15fe652d9f76d64c844 jdk-7u1-linux-i586.rpm | |
| # Install Java |
| require_recipe 'fog' | |
| route53_rr node[:ec2][:instance_id] do | |
| record_type "CNAME" | |
| fqdn "#{node[:ec2][:instance_id]}.#{node["route53"]["domain"]}" | |
| rdata(["#{node[:ec2][:public_hostname]}."]) | |
| accesskey node["route53"]["accesskey"] | |
| secretkey node["route53"]["secretkey"] | |
| zoneid node["route53"]["zoneid"] | |
| action :update |