Skip to content

Instantly share code, notes, and snippets.

@mipearson
Created August 20, 2011 14:34
Show Gist options
  • Save mipearson/1159177 to your computer and use it in GitHub Desktop.
Save mipearson/1159177 to your computer and use it in GitHub Desktop.
After uploading chef cookbooks, install REE / Chef and run it on a virgin Ubuntu 10.04 instance
#!/bin/bash
set -e
set -v
wget http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise_1.8.7-2011.03_amd64_ubuntu10.04.deb
sudo dpkg -i ruby-enterprise_1.8.7-2011.03_amd64_ubuntu10.04.deb
sudo gem install rubygems-update -v 1.3.7
sudo update_rubygems
sudo apt-get install build-essential
sudo gem install chef --no-ri --no-rdoc
sudo chef-solo -c solo.rb -j node.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment