Created
August 20, 2011 14:34
-
-
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
This file contains hidden or 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
#!/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