This project uses soloist and librarian-chef to run a subset of the recipes in sprout's cookbooks.
Fork it to customize its attributes in soloistrc and the list of recipes you'd like to use for your team. You may also want to add other cookbooks to its Cheffile, perhaps one of the many community cookbooks. By default it configures an OS X Mavericks workstation for Ruby development.
Finally, if you've never used Chef before - we highly recommend you buy & watch this excellent 17 minute screencast by Ryan Bates.
The list of repos we clone can be found in the soloistrc under the key: node_attributes->sprout->git->projects
ssh-add -D
ssh-add -t 5H [path/to/private-key]
git clone https://github.com/pivotal-cf/sprout-bosh.git #note you may not have git yet, and will be prompted to install the command-line developer tools. Go ahead and install
cd sprout-bosh
If you're running under rvm or rbenv, you shouldn't preface the following commands with sudo
.
sudo gem install bundler
bundle
If you receive errors like this:
clang: error: unknown argument: '-multiply_definedsuppress'
then try downgrading those errors like this:
sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future bundle
[The caffeinate
command will keep your computer awake while installing; depending on your network connection, soloist can take from 10 minutes to 2 hours to complete.]
caffeinate bundle exec soloist
some of the chef recipes may not pass the first time they are run (they download binaries from all over the internet, some time they don't get it all the first time) and you should try to re-run a couple of times. If the recipe repeatadly fails you may need to disable the recipe in the soloistrc and move on. You can test success by echo $?
after the command finishes. if it returns 0
that is success anything else is a failure and should be retried.
caffeinate bundle exec soloist
- Mirror displays
- Configure Finder
- Add ~/pivotal to Finder sidenav (https://www.pivotaltracker.com/story/show/89970764)
- Add ~/pivotal/workspace to Finder sidenav (https://www.pivotaltracker.com/story/show/89970764)
- Remove 'All my files' from Finder sidenav and as start page (https://www.pivotaltracker.com/story/show/92454292)
- Configure Rubymine
- Update RubyMine to use Native ssh executable for git (https://www.pivotaltracker.com/story/show/89970316)
- Update RubyMine to use Darcula theme and Darcularge font profile
- Configure Intellij
- Update Intellij Idea to use Native ssh executable for git (https://www.pivotaltracker.com/story/show/89970316)
- Update Intellij Idea to use Default theme and Darcularge font profile
- Install 'idea' command line tool (https://www.pivotaltracker.com/story/show/89970526)
- Setup Intellij to work with Go plugin:
1. Install Go plugin:
- Enter custom plugin repository:
- go to: preferences -> Plugins -> browse repositories -> Manage repositories
- enter 'https://plugins.jetbrains.com/plugins/alpha/list'
- Select only that repository in the 'Browse Repositories' window
- install Go
- restart 1. Configure Go SDK
- go to: project settings (cmd+;) -> Platform Settings -> SDKs
- Add SDK (plus icon in top of column) -> Go SDK -> select '/usr/local/Cellar/go/1.x.x/libexec' -> 'Choose' 1. Select SDK for each project
- go to: Project settings (cmd+;) -> Project Settings -> Project -> Project SDK
- choose Go 1.x.x
- Gem install bundler (https://www.pivotaltracker.com/story/show/90239920)
Join sprout-users@googlegroups.com if you use Sprout.
- Slides from @hiremaga's lightning talk on Sprout at Pivotal Labs in June 2013
- Railscast on chef-solo by Ryan Bates (PAID)