Created
May 24, 2012 08:58
-
-
Save gnufied/2780317 to your computer and use it in GitHub Desktop.
deploy.sh
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
#!/usr/bin/env bash | |
apt-add-repository -y ppa:brightbox/ruby-ng | |
apt-get -y update | |
apt-get -y install build-essential | |
apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev | |
apt-get -y install ruby1.9.3 ruby-switch | |
ruby-switch --set ruby1.9.1 | |
gem install chef ruby-shadow --no-ri --no-rdoc | |
mkdir /var/chef | |
cd /var/chef | |
mkdir -p cookbooks/main/recipes | |
chown -R ubuntu:ubuntu /var/chef |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment