Skip to content

Instantly share code, notes, and snippets.

@lyoshenka
Created March 23, 2014 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lyoshenka/9727312 to your computer and use it in GitHub Desktop.
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
#!/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