Chef: cookbooks and recipes

Order is implied – “Principle of Least Surprise”

Data bags – used to share data across nodes… and how to move encrypted stuff around (passwords, certificates, anything we don’t want floating around in the Clear.

Create a cookbook

The first time we see the [chef] command

In the following, [users] is my variable value, and the others are switches to chef,

chef generate repo users



However, the use of [chef generate] does not include the apparently must- or at least should-have of the [attributes] folder. There are (at least) 2 ways to get an attributes folder: 1. use [knife]; 2. do an additional [generate]

Chef/Ruby: case sensitive… unlike PowerShell

Management Console for chef – free for up to 25 nodes




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s