curl -L https://gist.github.com/theIV/5022219/raw/18b68d524870041138a4cc95320b99c949fd2e13/chef_solo_bootstrap.sh | bash
More context: http://railscasts.com/episodes/339-chef-solo-basics
curl -L https://gist.github.com/theIV/5022219/raw/18b68d524870041138a4cc95320b99c949fd2e13/chef_solo_bootstrap.sh | bash
More context: http://railscasts.com/episodes/339-chef-solo-basics
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz | |
tar -xvzf ruby-1.9.3-p125.tar.gz | |
cd ruby-1.9.3-p125/ | |
./configure --prefix=/usr/local | |
make | |
make install | |
gem install chef ruby-shadow --no-ri --no-rdoc |