Puppet: System Administration Automated

Support

Puppet Documentation

Table of Contents

  1. Introduction to Puppet
  2. Command Line Executables
  3. Type and Language Reference
  4. Configuration
  5. Cookbook
  6. Extending Puppet
  7. Related Applications
  8. Additional Documentation

Introduction to Puppet

Puppet is a declarative language for expressing system configuration, a client and server for distributing it, and a library for realizing the configuration.

The Puppet Introduction covers the basic architecture and design goals, including whether and why you should be using Puppet on your network.

There is an Installation Guide meant for installation of Puppet across a network and a Puppet Best Practice that covers conventions used among the Puppet community. There is also an UPGRADE page which details major feature and language changes between versions.

There is also a guide for using Puppet from source, and one for testing Puppet, to get an idea of what you can do without making a full deployment.

Command Line Executables

This section will eventually have links to full man-pages for each executable, but for now the man pages can be found by running the respective executable with the --help flag (this requires the Rdoc::usage module, which is often missing).

However, most arguments for the executables are in the form of configuration parameters used internally in the library. All of the executables are written to accept any of these configuration parameters, and they are all defined in the Configuration Reference.

  • puppet. Stand alone Puppet Site Manifest Script evaluator. Parses, evaluates, and implements a Site Manifest locally.
  • puppetmasterd. Puppet Site Manifest Server Daemon. Runs on each host serving/providing configurations to Puppet client hosts.
  • puppetd. Puppet Client Host Configuration Daemon. Runs on each host whose configuration is managed by Puppet. Requests a Host Specific Manifest from a Puppet Manifest Server and implements it locally.
  • puppetca. SSL Certificate Authority Server used for receiving cerification requests from puppet clients. Puppet Client Hosts are required to have their SSL certs signed by their Puppet Manifest Server's Authority before they can be authenticated and authorized to receive configurations.
  • puppetdoc. Command line tool for printing Puppet Default and Local Type Library reference documentation. This is really only used internally.
  • puppetrun. Command line tool for manually triggering Puppet configuration runs.

Type and Language Reference

The Puppet reference is split into the following pieces:

  • Language Tutorial. A tutorial regarding all available language structures within Puppet. This reference presents the limits of and options for expressibility within Puppet.
  • Function Reference
  • Type Reference. A reference of all available Puppet Types. The types defined in this reference represent the total ability of Puppet to manage your system -- if an object is not in this reference, then Puppet cannot currently manage it.
  • Report Reference. A reference to all in-built report types.
  • Glossary OfTerms

Configuration

Puppet configuration can be done through per-process configuration files (e.g., puppetd.conf) or on the command-line via switches. Much of the documentation is available via --help switches on each executable, but most of the useful switches are common to all executables and are thus documented in the Configuration Reference.

There are some guides already, though:

Cookbook

The Cookbook is a repository of modules, 'recipes' as well as Puppet and Facter configuration snippets for achieving common tasks.

Module documentation

Module sets

Recipes

Extending Puppet

Puppet is also highly extensible. This section lists additional information that can help you create new types, providers and functions for Puppet. Also documented is the process for adding custom facts for Facter.

Related Applications

A number of applications that extend, support or supplement Puppet have been developed. These include:

  • PuppetShow -- A Rails-application for viewing information about Puppet and configured hosts.
  • iClassify -- A node management tool for Puppet
  • PuppetView -- A light weight web-based Puppet log viewer written in PHP.
  • Cft -- A configuration file tracker that uses Puppet at its base.
  • Augeas -- Augeas is a configuration editing tool.

Additional Documentation

While the above links represent the standard, recommended documentation, there is additional information available for those who are interested.

Also available is Pulling Strings with Puppet - the first book on Puppet written by James Turnbull.