Book Image

Chef Infrastructure Automation Cookbook Second Edition

By : Matthias Marschall
Book Image

Chef Infrastructure Automation Cookbook Second Edition

By: Matthias Marschall

Overview of this book

Table of Contents (14 chapters)
Chef Infrastructure Automation Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Managing your local workstation


You know the drill. You get a brand new MacBook and need to set up all your software—again. Chef can help here, too.

We will take a look at how to install applications and tweak settings on your local development box with Chef.

Tip

This example is based on recipes for OS X only, but you can tweak it to run on Windows or Linux, too.

Getting ready

First, we need to prepare our own repository for our individual setup:

  1. Fork the github.com/mmarschall/kitchenplan-config repository:

  2. Clone it to your local development box, replacing <YOUR GITHUB USER> with the name of your GitHub account:

    mma@laptop:~/ $ git clone https://github.com/<YOUR GITHUB USER>/kitche
    nplan-config.git
    
  3. Go into your clone of the kitchenplan-config repository:

    mma@laptop:~/ $ cd kitchenplan-config
    
  4. Make sure you have the kitchenplan gem installed by running the following code:

    mma@laptop:~/kitchenplan-config $ gem install kitchenplan
    
    ...TRUNCATED OUTPUT...
    Installing kitchenplan (2.1.18)
    ...