Chapter 8. Maintaining Systems Using Chef and Puppet

In this chapter, we will cover the following recipes:

  • Maintaining consistent systems using scheduled convergence
  • Creating environments
  • Using Chef encrypted data bags and Hiera-eyaml with Puppet
  • Using Chef Vault encryption
  • Accessing and manipulating system information with Ohai
  • Automating application deployment (a WordPress example)
  • Using a TDD workflow
  • Planning for the worse – train to rebuild working systems

Introduction

We've previously seen how to automate systems with code and how to properly test this code. Now we're ready for prime time; there's a whole set of features, constraints, and objectives to be properly set. We'll want to isolate environments such as dev, staging, and production. We'll ...

Get Infrastructure as Code (IAC) Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.