Skip to content

Instantly share code, notes, and snippets.

@gnufied
Created May 23, 2012 17:41
Show Gist options
  • Save gnufied/2776596 to your computer and use it in GitHub Desktop.
Save gnufied/2776596 to your computer and use it in GitHub Desktop.
#!/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
touch solo.rb
touch node.json
chown -R ubuntu:ubuntu /var/chef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment