Created
April 11, 2012 22:14
-
-
Save rabidpraxis/2363102 to your computer and use it in GitHub Desktop.
ec2-bootstrap
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
#!/bin/bash | |
set -e -x | |
#============================================================================== | |
# Initial Dependecies | |
#============================================================================== | |
sudo apt-get -y update | |
sudo apt-get -y install curl python-software-properties | |
sudo apt-add-repository ppa:brightbox/ruby-ng-experimental | |
sudo apt-get -y update | |
#============================================================================== | |
# Install Ruby | |
#============================================================================== | |
sudo apt-get -y install ruby rubygems ruby-switch | |
sudo apt-get -y install ruby1.9.3 | |
sudo ruby-switch --set ruby1.9.1 | |
#=== Install Chef =========================================================== | |
sudo gem install chef ruby-shadow --no-ri --no-rdoc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment