Skip to content

Instantly share code, notes, and snippets.

@wadtech
Forked from ryanb/chef_solo_bootstrap.sh
Created April 12, 2012 19:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save wadtech/2370476 to your computer and use it in GitHub Desktop.
Save wadtech/2370476 to your computer and use it in GitHub Desktop.
Bootstrap Chef Solo for Ubuntu Precise
#!/usr/bin/env bash
sudo apt-get -y update
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz
tar -xvzf ruby-1.9.3-p327.tar.gz
cd ruby-1.9.3-p327/
./configure --prefix=/usr/local
make
sudo make install
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