Last active
October 10, 2015 19:58
-
-
Save robb1e/3742585 to your computer and use it in GitHub Desktop.
Chef Workstation
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
pushd `pwd` | |
if rvm --version 2>/dev/null; then | |
gem install soloist | |
else | |
sudo gem install soloist | |
fi | |
mkdir -p ~/cookbooks; cd ~/cookbooks | |
cat > ~/soloistrc <<EOF | |
cookbook_paths: | |
- $PWD | |
recipes: | |
- "pivotal_workstation::bash_it" | |
- "pivotal_workstation::create_var_chef_cache" | |
- "pivotal_workstation::java" | |
- "pivotal_workstation::sshd_on" | |
- "pivotal_workstation::screen_sharing_app" | |
- "pivotal_workstation::skype" | |
- "pivotal_workstation::shiftit" | |
- "pivotal_workstation::firefox" | |
- "pivotal_workstation::inputrc" | |
- "pivotal_workstation::locate_on" | |
- "pivotal_workstation::dropbox" | |
- "pivotal_workstation::chrome" | |
- "pivotal_workstation::mouse_locator" | |
- "pivotal_workstation::defaults_fast_key_repeat_rate" | |
- "pivotal_workstation::menumeters" | |
- "pivotal_workstation::bettertouchtool" | |
- "pivotal_workstation::bash_it" | |
- "pivotal_workstation::git_config_global_defaults" | |
- "pivotal_workstation::git_scripts" | |
- "pivotal_workstation::gitx" | |
- "pivotal_workstation::global_environment_variables" | |
- "pivotal_workstation::homebrew" | |
- "pivotal_workstation::iterm2" | |
- "pivotal_workstation::unix_essentials" | |
- "pivotal_workstation::vim" | |
- "pivotal_workstation::workspace_directory" | |
- "pivotal_workstation::rvm" | |
- "pivotal_workstation::gem_setup" | |
- "pivotal_workstation::postgres" | |
- "pivotal_workstation::qt" | |
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 | |
fi | |
soloist | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment