Laptop from scratch with #boxen and #puppet under the hood

I believe you already heard about DevOps and Infrastructure as a Code ideas. This concept stuck into my mind some time ago for development purposes and  to manage project related infrastructure, I even gave a talk at JEEConf this year (20013), here is a link BTW Избавьтесь от рутины конфигурации окружений JEE проектов с помощью Vagrant (talk is in russian).

Well this note is something a bit different but quite closed. Recently I’ve got an idea to throw everything out of my MBP and have every software/app I need to be installed in controlled way e.g. using Boxen (source code @github). If to say in 2 words Boxen is an automation of configuration of development environments for OS X (currently there is just OS X support, Puppet that is used under the hood supports other OSs as well though).

So it took some of my spare time to back up everything I had on my laptop before, then erase hard drive and reinstall OS X from scratch. After that I cloned https://github.com/boxen/our-boxen and started my journey. There is my Boxen‘s repo https://github.com/webdizz/my-boxen with some things I have right now built and configured with it. I said some things because it’s an incremental way and it takes some time to automate parts of infrastructure I have on my laptop. Currently there are all applications, software like Git, Ruby, Java, OS preferences and configuration of apps like Emacs, Vim, Terminal (iTerm2 I’m tasting it right now). I really like a concept of dotfiles, my is here https://github.com/webdizz/dotfiles, and Boxen has quite straight forward support of it.

Additionally there is a way to amend your working space configuration with private dotfiles. For example, your SSH configuration, aliases for intranet servers etc. could be added into private dotfiles repository and easily managed with Boxen.

There are useful links to get started with Boxen:

  • http://boxen.github.com/
  • http://garylarizza.com/blog/2013/02/15/puppet-plus-github-equals-laptop-love/

Enjoy to control your laptop build process incrementally and repeatable way.

3 thoughts on “Laptop from scratch with #boxen and #puppet under the hood

  1. I laughed so hard at “You can even install Minecraft with it” from Boxen site.
    Anyway, do you expect this setup to be useful? I mean, this could help so much if you lose your laptop (especially with all data backed up at some kind of Crashplan), but won’t maintenance costs overhaul?

  2. Usually I prefer to back up just data, not configurations, applications etc as this gets crazy after some time. With this approach I’d like to have capability to install clean OS then everything I need without any old garbage.

Leave a Reply

Your email address will not be published. Required fields are marked *