O'Reilly logo

Infrastructure as Code (IAC) Cookbook by Pierre Pomes, Stephane Jourdan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required