Home About Courses Schedule Services Webinars Contact Search

Working with Chef

SEE SCHEDULE

Duration: 3 Days

Method: Instructor led, Hands-on workshops

Price: $1650.00

Course Code: DO1010


Audience

Dev Ops engineers need to automated build and deployment processes using Chef.

Description

The Working With Chef training course explores Cookbook development for Chef.

The Working With Chef course begins with a quick review of both Ruby and Chef concepts. It then transitions into an examination of building Chef Cookbooks, beginning simply, then moving into more complex concepts and examples.

The Writing Chef Cookbooks training course concludes with an examination and review of client-specific and client-created Cookbooks.

Objectives

Upon successful completion of this course, the student will be able to:

  • Describe the advantages of using Cookbooks with Chef
  • Write a simple Cookbook
  • Create a Cookbook to manage a Hadoop cluster
  • Identify processes / procedures during the build / deploy process that are good Cookbook candidates
  • Apply common best practices to Cookbook development

Topics

  • I. Ruby Primer (enough to understand reading Chef code)
    • Basic Syntax
    • Data structures used in Chef
    • Hash
    • Array
    • Blocks
  • II. Chef Refresher
    • What Chef provides
    • Cookbooks
  • III. Local Chef Cookbook Development
    • Vagrant
  • IV. Running chef
    • Chef Server/Client
    • Chef Solo
  • V. Building a Basic Cookbook
    • Parts of a Cookbook
    • Recipes
    • Attributes
    • Templates / Files
    • Example: NTP
    • Example: Resolv
  • VI. Building a more Complicated Cookbook
    • Chef node customization
    • Environments
    • Roles
    • Nodes
    • Data Bags (Encrypted+)
    • Using other Chef resources
    • Using multiple cookbooks together
    • Dependency management
    • Cookbook Metadata
  • VII. Cookbook Patterns and Practices
    • Application vs. Library Cookbooks
    • Resources best practices
  • VIII. Building Custom Resources
    • Libraries / Definitions
    • LightWeight Resource Providers
  • IX. Q/A