Beyond Automation with CFEngine 3

Video description

Learn how to go beyond classical automation with CFEngine 3, one of the most established configuration management systems available. In this video tutorial, host and CFEngine creator Mark Burgess takes you on a tour of discovery from basic automation concepts to more complex examples, such as implementing distributed orchestration.


Along the way, sysadmins, developers, and distributed system architects will learn the theory behind configuration management, executable documentation, and self-healing systems through many exercises and hands-on examples. You’ll also discover how to apply CFEngine to a variety of systems.


  • Dive into the basics of automation: the brain model vs the society model
  • Explore CFEngine 3 components, including promises and agents
  • Understand the three roles for using CFEngine
  • Take the first steps towards becoming a system designer
  • Learn how to tell your story with promises, the basis of orchestration

  • Mark Burgess, researcher and writer at Oslo University College in Norway and inventor of CFEngine, is a leading voice in the field of infrastructure automation.

    Table of contents

    1. Beyond Automation with CFEngine 3 Course Introduction
    2. Chapter 1: What is Automation?
      1. Introduction to Automation and Beyond
      2. The Promises of Automation
      3. Coding Interlude 1 (Creating Files and Running Commands with Executable Documentation)
      4. Coding Interlude 2 (Editing Files - an Example of Convergence and Idempotence)
      5. Safe Automation with Imperfect Tools - Documenting Workarounds
      6. Mapping Your Architecture in Terms of Patterns
      7. Two Kinds of Processes: Chain Reactions, Convergence to a Target (Predictability)
      8. Maximize Stability with Promises
    3. Chapter 2: What is CFEngine?
      1. Introduction to CFEngine
      2. Be a Town Planner; Not a Bricklayer
      3. Don't Be the Machine Yourself, Design Machinery that Is Hands-Free!
      4. Configuration: Style Sheets for Your Servers
      5. Code Interlude 3 (Message of the Day)
      6. Code Interlude 4 (Policy in an Access Control Paradigm)
      7. Using the CFEngine Dashboard to See Promises Kept
    4. Chapter 3: The Components of CFEngine
      1. Introduction to CFEngine Components: Configuration from Within
      2. Three Ways to Go Beyond Automation with CFEngine 3
      3. Coding Interlude 5 (Building a Kindle Book)
      4. Business Use Cases for CFEngine's Executable Documentation
    5. Chapter 4: First Words and Patterns
      1. CFEngine 3 Syntax
      2. Coding Interlude 6 (Associative Arrays)
      3. Using Body Attributes, Templates, and Bundles
    6. Chapter 5: Think Like a Human, Think Like a Machine
      1. Telling a System Story Through Executable Documentation
    7. Chapter 6: How To Tell Your Story with Promises
      1. Introduction to Orchestration
      2. Coding Interlude 7 (Environmental Discovery and Classes for Orchestration)
      3. Coding Interlude 8 (Docker Orchestration)
      4. Conclusion

    Product information

    • Title: Beyond Automation with CFEngine 3
    • Author(s):
    • Release date: September 2014
    • Publisher(s): O'Reilly Media, Inc.
    • ISBN: 978149191066