Puppet's commands
Puppet’s command line interface consists of a single puppet command with many subcommands.
Puppet Server and Puppet’s companion utilities, Facter and Hiera, have their own command line interfaces, which differ slightly from Puppet’s.
Core services
The following subcommands are the main applications Puppet uses to manage systems. Every user should understand what they do.
OpenVox agent
OpenVox agent manages systems, with the help of an OpenVox Server. It requests a configuration catalog from an OpenVox Server server, then ensures that all resources in that catalog are in their desired state.
For more information, see:
- Overview of Puppet’s Architecture
- Puppet Agent on *nix Systems
- Puppet Agent on Windows Systems
- Puppet Agent’s Man Page
Puppet Server
Puppet Server compiles configurations for any number of OpenVox agents, using Puppet code and various other data sources. It provides the same services as the classic OpenVox Server application, and more.
Puppet Server has its own subcommand, puppetserver, which isn’t prefaced by the usual puppet subcommand.
For more information, see:
Puppet apply
Puppet apply manages systems without needing to contact an OpenVox Server server. It compiles its own configuration catalog, using Puppet modules and various other data sources, then immediately applies the catalog.
For more information, see:
Administrative tools
Puppet module
Puppet module is a multi-purpose tool for working with Puppet modules. It can install and upgrade new modules from the Puppet Forge, help generate new modules, and package modules for public release.
For more information, see:
- Module Fundamentals
- Installing Modules
- Publishing Modules on the Puppet Forge
- Puppet Module’s Man Page
Puppet resource
Puppet resource lets you interactively inspect and manipulate resources on a system. It can work with any resource type Puppet knows about.
For more information, see:
Puppet config
Puppet config lets you view and change Puppet’s settings.
For more information, see:
- About Puppet’s Settings
- Checking Values of Settings
- Editing Settings on the Command Line
- Short List of Important Settings
- Puppet Config’s Man Page
Accessories
Puppet parser
Puppet parser lets you validate Puppet code to make sure it contains no syntax errors. It can be a useful part of your continuous integration toolchain.
For more information, see:
Puppet help and Puppet man
Puppet help and Puppet man can display online help for Puppet’s other subcommands.
For more information, see:
Full list of subcommands
Puppet has other subcommands, most of which aren’t as generally useful as the ones listed above. For a complete list, see: