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

CookBook01

CookBook02

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

LearnChef.com: https://learn.chef.io/index.html

Management Console for chef – free for up to 25 nodes

ManageChef01

chef-client.bat

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s