Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Boxen @ PhillyDevOps Lighting Talks

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Boxen @ PhillyDevOps Lighting Talks

Gave a 10 minute lighting talk on applying automation and devops principals to your Mac setup.

Avatar for Adam Ochonicki

Adam Ochonicki

September 24, 2013

Other Decks in Programming

Transcript

  1. •Runs in the shell •Built on Puppet •Automates OS X

    setup •Helps your team work better •Configures All The Things! ######## ####### ## ## ######## ## ## ## ## ## ## ## ## ## ### ## ## ## ## ## ## ## ## #### ## ######## ## ## ### ###### ## ## ## ## ## ## ## ## ## ## ## #### ## ## ## ## ## ## ## ## ### ######## ####### ## ## ######## ## ##
  2. •New hires ship code on day one •Lovingly enforce Full

    Disk Encryption •Automate installation of common apps •Get dev configs in sync What does it all mean?
  3. •Lots of Ruby, Bash, and Puppet •puppet-librarian manages module deps

    github 'onepassword', '1.0.2' •Personal manifest for personal configuration •Project manifest for project configuration Inside Boxen
  4. Personal manifest class people::fromonesrc { include alfred include caffeine include

    omnifocus include onepassword include textexpander include textmate include textual include tmux include vagrant include vlc include vmware_fusion include zsh $dotfiles = "/Users/${::luser}/.dotfiles" repository { $dotfiles: ensure => present, source => "fromonesrc/dotfiles" } } class projects::giddyup { include elasticsearch include mongodb include phantomjs include qt boxen::project { "giddyup": source => "articulate/giddyup", ruby => "2.0.0-p247", postgresql => true } } Project manifest
  5. •Failed runs log issues to team boxen repo •Who, When,

    Machine, OS, Shell, Git Ref, Trace •Auto-closes issues on next successful run boxen --debug boxen --stealth Debugging tho?
  6. •Currently works with Mac OS 10.8+ •Linux support on the

    way •Installs its own Homebrew and rbenv •Runs services on non-standard ports Caveats and whatnot
  7. •Works with GitHub 2FA using tokens •GitHub Enterprise support by

    community •YMMV on ‘old’ hardware Closing Boxen
  8. •I really like Chef, but Puppet’s not so bad •Boxen

    is a great starting point •It doesn’t matter what you use •Just use something Closing Boxen