Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (19 sloc) 0.605 kB
#!/bin/bash
set -e
cd ~ &&
sudo gem install soloist --no-ri --no-rdoc &&
mkdir -p chef/cookbooks/pivotal_workstation &&
cd chef/cookbooks/pivotal_workstation &&
curl -L http://github.com/pivotal/pivotal_workstation/tarball/master | gunzip | tar xvf - --strip=1 &&
cd ~ &&
cat > soloistrc <<SOLOISTRCCONTENTS
Cookbook_Paths:
- ./chef/cookbooks/
Recipes:
SOLOISTRCCONTENTS
for f in /Users/pivotal/chef/cookbooks/pivotal_workstation/recipes/*.rb;
do
echo "$f" | sed 's/.*\/\([^\/]*\)\.rb/- pivotal_workstation::\1/' >> soloistrc
done
unset GEM_PATH && LOG_LEVEL=debug soloist &&
echo "GREAT SUCCESS"
Jump to Line
Something went wrong with that request. Please try again.