Last active
December 12, 2015 09:28
-
-
Save AquaGeek/4751246 to your computer and use it in GitHub Desktop.
New Workstation Setup
This file contains hidden or 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
#!/bin/bash | |
if rvm --version 2>/dev/null; then | |
gem install soloist | |
else | |
sudo gem install soloist --no-ri --no-rdoc | |
fi | |
mkdir -p ~/cookbooks; cd ~/cookbooks | |
cat > soloistrc <<EOF | |
cookbook_paths: | |
- $PWD | |
recipes: | |
- pivotal_workstation::create_var_chef_cache | |
- pivotal_workstation::1password | |
- pivotal_workstation::chrome | |
- pivotal_workstation::adium | |
- pivotal_workstation::skype | |
EOF | |
if [[ -d pivotal_workstation ]]; then | |
cd pivotal_workstation && git pull && cd .. | |
else | |
git clone https://github.com/pivotal/pivotal_workstation.git | |
fi | |
if [[ -d dmg ]]; then | |
cd dmg && git pull && cd .. | |
else | |
git clone https://github.com/opscode-cookbooks/dmg.git | |
fi | |
soloist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment