Chapter 3. Managing your Puppet code with Git

We define ourselves by our actions. With each decision, we tell ourselves and the world who we are.

—Bill Watterson

In this chapter, you'll learn how to use the Git version control system to manage your Puppet manifests. I'll also show you how to use Git to distribute the manifests to multiple nodes, so that you can start managing your whole network with Puppet.

Managing your Puppet code with Git

What is version control?

If you're already familiar with Git, you can save some reading by skipping ahead to the Creating a Git repo section. If not, here's a gentle introduction.

Even if you're the only person who works on a piece of source ...

Get Puppet 4.10 Beginner's Guide Second 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.