Book Image

Troubleshooting Puppet

By : Thomas Uphill
Book Image

Troubleshooting Puppet

By: Thomas Uphill

Overview of this book

Table of Contents (14 chapters)

Puppet Server


PuppetDB was widely adopted by Puppet installations. The success of PuppetDB led Puppet Labs to use the same architecture to improve the performance of the puppet master. A new Clojure-based framework called TrapperKeeper was developed. TrapperKeeper presents different services. For the Puppet master service, TrapperKeeper runs a JRuby process within a Java Virtual Machine (JVM). This stack of components, with Clojure, JRuby, and Jetty, is also used by the new ENC solution of Puppet Labs, Puppet Node Manager. More information on the new node manager can be found at https://docs.puppetlabs.com/pe/latest/console_classes_groups.html.

When run through Puppet Server, the Puppet master runs as a JRuby process within a JVM. The core Puppet code is stored in a JAR file named puppet-server-release.jar. The Clojure code is stored within this JAR file. JAR files are essentially ZIP archives. You can view the contents of the JAR file by using the ZIP utility, as follows:

[root@puppet ...