This is the code repository for Puppet 5 Cookbook - Fourth Edition, published by Packt.
Jump start your Puppet 5.x deployment using engaging and practical recipes
Puppet is a configuration management system that automates all your IT configurations, giving you control of managing each node. Puppet 5 Cookbook will take you through Puppet's latest and most advanced features, including Docker containers, Hiera, and AWS Cloud Orchestration. Updated with the latest advancements and best practices, this book delves into various aspects of writing good Puppet code, which includes using Puppet community style, checking your manifests with puppet-lint, and learning community best practices with an emphasis on real-world implementation.
This book covers the following exciting features: <First 5 What you'll learn points>
- Discover the latest and most advanced features of Puppet
- Bootstrap your Puppet installation using powerful tools like Rake
- Master techniques to deal with centralized and decentralized Puppet deployments
- Use exported resources and forge modules to set up Puppet modules
- Create efficient manifests to streamline your deployments
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
class apache {
File {
owner => 'apache',
group => 'apache',
mode => 0644,
}
Following is what you need for this book: Puppet 5 Cookbook is for anyone who builds and administers servers, especially in a web operations context. You’ll need some experience of Linux systems administration, including familiarity with the command line, filesystem, and text editing. No prior programming experience is required. With the following software and hardware list you can run all code files present in the book (Chapter 1-15).
| Chapter | Software required | OS required |
|---|---|---|
| 1-8 | Puppet Agent 5.3 Virtual Machine System (Virtualbox, KVM, VMWare) | Linux, MacOS, Windows |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Thomas Uphill Thomas Uphill is an RHCA who has been using Puppet since version 0.24. He has been a system administrator for nearly 20 years, more than 10 of which have been with Red Hat Linux and its derivatives. He has presented tutorials on Puppet at LISA and has spoken at PuppetConf. He enjoys teaching others how to use Puppet to automate as much system administration tasks as possible.
Click here if you have any feedback or suggestions.

