Skip to content

Instantly share code, notes, and snippets.

@matthewrobertson
Created November 1, 2012 23:47
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 matthewrobertson/3997624 to your computer and use it in GitHub Desktop.
Save matthewrobertson/3997624 to your computer and use it in GitHub Desktop.
cc_workstation kickoff
pushd `pwd`
# install soloist
if rvm --version 2>/dev/null; then
gem install soloist --no-rdoc --no-ri
else
sudo gem install soloist --no-rdoc --no-ri
fi
# create the cookbooks dir and write the soloistrc in it
mkdir -p ~/cookbooks; cd ~/cookbooks
cat > soloistrc <<EOF
cookbook_paths:
- $PWD
recipes:
- cc_workstation::ruby_workstation
EOF
# grab the cookbooks we need
cd ~/cookbooks
git clone https://github.com/pivotal/pivotal_workstation.git pivotal_workstation
git clone https://github.com/CloudClinic/cc_workstation.git cc_workstation
# run soloist to install everything
soloist
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment