Community Cookbooks and Chef Server Patterns
Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level
Overview/Description
The best practices of using a Chef Server are directly related to the reusability of cookbook recipes and components. This course will focus on the effective use of community cookbooks with a Chef server.
Target Audience
DevOps practitioners and systems administrators interested in learning how to automate configuration tasks with Chef
Prerequisites
None
Expected Duration (hours)
1.3
Lesson Objectives Community Cookbooks and Chef Server Patterns
start the course
describe the reusability of Chef cookbooks and best practices around utilizing community code
search for cookbooks on supermarket.chef.io
distinguish the differences between library and application cookbooks
distinguish why community cookbooks should be called as dependencies instead of forking upstream code bases
configure and install dependencies in the metadata file with berkshelf
manage Chef server cookbook versions with berkshelf
configure the Berksfile to point at a local dependency instead of a Chef Supermarket dependency
use node attribute precedence when overwriting cookbook attribute values
assign node attributes at the role or environment level
identify the limitations of using roles and explain the purpose of a role cookbook
configure the chef-client as a service with a community cookbook
configure the logging location on a node directly or as a node attribute with the chef-client cookbook
configure a wrapper for the test_haproxy community cookbook to redirect traffic to a simple web server
Course Number: os_doch_a03_it_enus
Expertise Level
Intermediate