Skip to content

theradchad/pivotal_workstation

 
 

Repository files navigation

Pivotal Workstation Build Status

A repeatable, documented, decomposable, shareable and iterative OSX (ruby) development environment

Features

Pivotal Workstation automates the process of installing common applications such as Google Chrome, Firefox, homebrew, and RubyMine. Pivotal Workstation also sets OSX preferences such as dock hiding or key repeat rate. Finally, Pivotal Workstation configures command line tools such as git and ssh.

Installation

cat > ~/Cheffile <<EOF
site 'http://community.opscode.com/api/v1'

cookbook 'pivotal_workstation',
  :git => 'git://github.com/pivotal/pivotal_workstation.git'
EOF

cat > ~/soloistrc <<EOF
recipes:
- pivotal_workstation::meta_osx_base
- pivotal_workstation::meta_osx_development
- pivotal_workstation::meta_ruby_development
EOF
sudo gem install soloist
soloist

Configuration

You may want to change the default applications or preferences.

For instance, you might want to install only Chrome and Sublime Text. You can change the recipes portion of your soloistrc to look like this:

recipes:
- pivotal_workstation::chrome
- pivotal_workstation::sublime_text

Alternately, you might like to change the people and company associated with your .pairs file. To do this simply set the appropriate node_attributes in your soloistrc:

node_attributes:
  git_pairs_domain: pivotallabs.com
  git_pairs_authors:
    - initials: ah
      name: Abhi Hiremagalur
      shortname: abhi
    - initials: bc
      name: Brian Cunnie
      shortname: cunnie

Configuration Interfaces

There are two online tools you can use to generate soloistrc files:

  • SoloWizard

    This is the easiest way to get started, and it only involves cutting-and-pasting one line. Many thanks to Tom Hallett.

  • soloistrc builder

    Soloistrc Builder can be pointed at any cookbook and will help you build a soloistrc. Many thanks to Winston Teo.

Background

Traditionally, Pivotal Labs relied on imaging workstations from a gold master image which was updated as time allowed. Pivotal Workstation creates a development environment with almost no effort. See the recipes folder for a complete list of possible recipes for your ~/soloistrc file.

Many recipes require homebrew. Other recipes will overwrite your .bash_profile. chef-solo runs as root and may make system-wide changes.

Finding the checksum for a dmg_package

If the filename is ccmenu-1.5-b.dmg

shasum -a 256 ccmenu-1.5-b.dmg
=> "c11302c03c90bffeafb25b36a0a77c97fc27f32f2c32845df2292416b46457aa"

Contributing

  • Fork the project
  • Make your feature addition or bug fix
  • Send me a pull request; bonus points for topic branches
  • If you submit several recipes, break them into several pull requests

Maintainers

Authors

Thanks

Copyright

Copyright © Pivotal Labs. See LICENSE.txt for details.

About

A cookbook of recipes for an OSX workstation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 98.9%
  • Shell 1.1%