Skip to content

Instantly share code, notes, and snippets.

@stathy
Created May 6, 2013 15:47
Show Gist options
  • Save stathy/5525976 to your computer and use it in GitHub Desktop.
Save stathy/5525976 to your computer and use it in GitHub Desktop.
Fixes to java-quick-start
# cookbooks/mysql/recipes/client.rb
>> ['ruby1.9.1-full', 'ruby1.9.1-dev', 'rubygems', 'mysql-client',
>>'libmysqlclient-dev'].each do |pkg_name|
>> pkg = package pkg_name do
>> action :nothing
>> end
>> pkg.run_action(:install)
>> end
>> chef_gem 'mysql'
# cookbooks/java/recipes/openjdk.rb
>> line 28 command "update-java-alternatives -s java-6-openjdk"
>> TO
>> line 28 command "update-java-alternatives -s java-1.6.0-openjdk"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment