Created
November 1, 2012 23:47
-
-
Save matthewrobertson/3997624 to your computer and use it in GitHub Desktop.
cc_workstation kickoff
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
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