Chapter 2. Puppet Infrastructure

 

"Computers in the future may have as few as 1,000 vacuum tubes and weigh only 1.5 tons."

 
 --Popular Mechanics, 1949

In this chapter, we will cover:

  • Installing Puppet
  • Managing your manifests with Git
  • Creating a decentralized Puppet architecture
  • Writing a papply script
  • Running Puppet from cron
  • Bootstrapping Puppet with bash
  • Creating a centralized Puppet infrastructure
  • Creating certificates with multiple DNS names
  • Running Puppet from passenger
  • Setting up the environment
  • Configuring PuppetDB
  • Configuring Hiera
  • Setting-node specific data with Hiera
  • Storing secret data with hiera-gpg
  • Using MessagePack serialization
  • Automatic syntax checking with Git hooks
  • Pushing code around with Git
  • Managing environments with Git

Introduction

In this chapter, ...

Get Puppet Cookbook - Third Edition 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.