-
-
Save he9lin/5180048 to your computer and use it in GitHub Desktop.
Chef solo bootstrap with Berkshelf
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
``` | |
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g-dev libssl-dev libyaml-dev libxslt-dev git-core autoconf bison libssl-dev libreadline6-dev libncurses5-dev | |
cd /tmp | |
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz | |
tar -xzf ruby-2.1.4.tar.gz | |
cd ruby-2.1.4/ | |
./configure --prefix=/usr/local --with-readline-dir=/usr/include/readline | |
make | |
make install | |
gem install chef -v 11.12.4 | |
gem install ruby-shadow bundler --no-ri --no-rdoc | |
``` |
Author
he9lin
commented
Oct 16, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment