Book Image

Learning Puppet Security

Book Image

Learning Puppet Security

Overview of this book

Table of Contents (17 chapters)
Learning Puppet Security
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Tracking history with version control


If we're using Puppet manifests and data for compliance purposes, we will want to track the history of the manifests and data. There are many version control systems out there, and a comparison of them is beyond the scope of this book. However, most of the Puppet communities have standardized on using git.

While we do not aim to be a comprehensive resource on git, or the use of git with Puppet, for the sake of compliance, it makes sense to explore the common workflow that will aid a security professional in their everyday work.

Note

If you want more details than this book provides on git and Puppet, I recommend that you read Mastering Puppet, Thomas Uphill, Packt Publishing for a Puppet-specific view, or http://git-scm.com/book for a more general overview of git.

Using git to track Puppet configuration

We'll start with the simplest use case. In this case, we'll just track the entire contents of the Puppet configuration directory under git. This is how many...