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.
First, we need to prepare our own repository for our individual setup:
Fork the github.com/mmarschall/kitchenplan-config repository:
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
Go into your clone of the
kitchenplan-config
repository:mma@laptop:~/ $ cd kitchenplan-config
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) ...