Created
March 23, 2014 18:26
-
-
Save lyoshenka/9727312 to your computer and use it in GitHub Desktop.
Chef Solo bootstrap. Quickly set up chef solo (and liquidprompt) on a new machine
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 | |
sudo apt-get update | |
sudo apt-get install git-core curl | |
git clone https://github.com/nojhan/liquidprompt.git | |
source ~/liquidprompt/liquidprompt | |
echo 'source ~/liquidprompt/liquidprompt' >> ~/.bashrc | |
\curl -sSL https://get.rvm.io | bash -s stable --ruby | |
source /usr/local/rvm/scripts/rvm | |
sudo apt-get install libxslt-dev libxml2-dev | |
gem install chef knife-solo berkshelf foodcritic --no-ri --no-rdoc | |
chef-solo -v; berks -v; foodcritic -V |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment