Troubleshooting Puppet

Troubleshoot your Puppet infrastructure to leverage your system's performance effectively
Preview in Mapt
Code Files

Troubleshooting Puppet

Thomas Uphill

Troubleshoot your Puppet infrastructure to leverage your system's performance effectively
Mapt Subscription
FREE
$29.99/m after trial
eBook
$19.60
RRP $27.99
Save 29%
Print + eBook
$34.99
RRP $34.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$19.60
$34.99
$29.99p/m after trial
RRP $27.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Troubleshooting Puppet Book Cover
Troubleshooting Puppet
$ 27.99
$ 19.60
Puppet: Mastering Infrastructure Automation Book Cover
Puppet: Mastering Infrastructure Automation
$ 67.99
$ 47.60
Buy 2 for $35.00
Save $60.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781784398651
Paperback144 pages

Book Description

Puppet is a configuration management system written for system administrators to manage a large number of systems efficiently and help maintain order. Deploying Puppet becomes more complex as you increase the number of nodes in your environment. The Puppet tool is an intelligent solution that increases the automation footprint for the proactive management of server infrastructures. Puppet's simple programming language is usable on most operating systems and is portable on different deployment environments.

We begin by looking at the puppet.conf server configuration file, and talk about possible problems that can occur. What does puppet really do in the background and what options does it provide for troubleshooting? This is what we will explore.

Moving on, we will be troubleshooting errors made in modules and templates, finding the best solutions. We will be writing code that will helping us in identify errors. Then we will explain how several ENCs do their job and how puppet communicates with them. We will learn how PuppetDB collects data generated by Puppet. It also enables advanced Puppet features like exported resources, and can be the foundation for other applications that use Puppet’s data. By the end of the book we will have learned the best debugging tips for Puppet and PuppetServer.

Table of Contents

Chapter 1: Puppet Infrastructure
The lifecycle of a Puppet run
Puppet configuration
puppet help
Log files and the catalog
Communication issues
Summary
Chapter 2: Writing Puppet Manifests
Writing code
Editors
puppet-lint
Testing code
Committing code
Git hooks
Using environments
Summary
Chapter 3: Modules and Templates
Metaparameters
Autorequires
Explicit ordering
Defined types
Custom facts
Files
Templates
Summary
Chapter 4: Hiera and External Node Classifiers
YAML files
JSON
Hiera
External node classifiers – ENCs
Summary
Chapter 5: The Marionette Collective
Architecture
ActiveMQ configuration
ActiveMQ and resource limits
Using mco
Debugging and logging
Direct addressing
Summary
Chapter 6: PuppetDB and Puppet Server
PuppetDB
Puppet Server
Debugging Ruby
Summary
Chapter 7: Help Me!
Puppet Forge/GitHub
Community help
IRC channels
Puppet user groups
Puppet Labs
Summary

What You Will Learn

  • Debug your Puppet infrastructure
  • Use APIs to ensure services are working properly
  • Fix catalog compilation issues
  • Solve problems using Hiera tool
  • Detect problems in your environment using PuppetDB tool
  • Learn ways to format code to aid in identifying errors
  • Troubleshoot errors in modules and templates

Authors

Table of Contents

Chapter 1: Puppet Infrastructure
The lifecycle of a Puppet run
Puppet configuration
puppet help
Log files and the catalog
Communication issues
Summary
Chapter 2: Writing Puppet Manifests
Writing code
Editors
puppet-lint
Testing code
Committing code
Git hooks
Using environments
Summary
Chapter 3: Modules and Templates
Metaparameters
Autorequires
Explicit ordering
Defined types
Custom facts
Files
Templates
Summary
Chapter 4: Hiera and External Node Classifiers
YAML files
JSON
Hiera
External node classifiers – ENCs
Summary
Chapter 5: The Marionette Collective
Architecture
ActiveMQ configuration
ActiveMQ and resource limits
Using mco
Debugging and logging
Direct addressing
Summary
Chapter 6: PuppetDB and Puppet Server
PuppetDB
Puppet Server
Debugging Ruby
Summary
Chapter 7: Help Me!
Puppet Forge/GitHub
Community help
IRC channels
Puppet user groups
Puppet Labs
Summary

Book Details

ISBN 139781784398651
Paperback144 pages
Read More

Read More Reviews

Recommended for You

Puppet Cookbook - Third Edition Book Cover
Puppet Cookbook - Third Edition
$ 26.99
$ 18.90
Docker Cookbook Book Cover
Docker Cookbook
$ 35.99
$ 25.20
Learning Docker Book Cover
Learning Docker
$ 39.99
$ 8.00
DevOps Automation Cookbook Book Cover
DevOps Automation Cookbook
$ 35.99
$ 25.20
Orchestrating Docker Book Cover
Orchestrating Docker
$ 14.99
$ 10.50
Mastering Docker Book Cover
Mastering Docker
$ 39.99
$ 28.00