Chapter 6. Fundamentals of Managing Servers with Chef and Puppet

In this chapter, we will cover the following recipes:

  • Getting started (notions and tools)
  • Installing the Chef Development kit and Puppet Collections
  • Creating a free hosted server Chef account and a Puppet server
  • Automatically bootstrapping a Chef client and a Puppet agent
  • Installing packages
  • Managing services
  • Managing files, directories, and templates
  • Handling dependencies
  • More dynamic code using notifications
  • Centrally sharing data using a Chef data bag and Hiera with Puppet
  • Creating functional roles
  • Managing external Chef cookbooks and Puppet modules

Introduction

Chef is an open source tool used to automate the configuration of systems and it integrates well with most IaaS such as Amazon Web ...

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.