Skip to content

Instantly share code, notes, and snippets.

@dpetersen
Created February 12, 2010 18:38
Show Gist options
  • Save dpetersen/302839 to your computer and use it in GitHub Desktop.
Save dpetersen/302839 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd ~/
rm -fR chef
mkdir chef
cd chef
git clone git://github.com/dpetersen/recipes.git
cp recipes/config/solo.rb ./
sudo rm -fR /srv
sudo mkdir /srv
sudo mv recipes /srv/chef
sudo chef-solo -c solo.rb -j ~/node.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment