puppet-agent
Apply configuration from Puppet server
TLDR
SYNOPSIS
puppet agent [--test] [--noop] [--server host] [options]
DESCRIPTION
puppet agent is the client component of the Puppet configuration management system. It connects to a Puppet server, retrieves a compiled catalog of the desired system state, and applies the necessary changes to bring the local machine into compliance. The agent handles SSL certificate management, fact submission via Facter, and detailed reporting of applied changes.
In daemon mode, the agent runs as a background service and checks in with the server at a configurable interval, typically every 30 minutes. For manual operations, --test performs a single run with verbose output, while --noop previews what changes would be made without actually applying them. The agent can be temporarily disabled with a lock message to prevent runs during maintenance windows.
PARAMETERS
--test
Single run with output.--noop
Dry run mode.--server HOST
Puppet server.--no-daemonize
Run in foreground.--enable
Enable agent runs.--disable MSG
Disable with message.--verbose
Verbose output.--debug
Debug output.
CONFIGURATION
/etc/puppetlabs/puppet/puppet.conf
Agent configuration including server hostname, run interval, environment, certificate name, and splay settings./etc/puppetlabs/puppet/ssl/
SSL certificate directory containing the agent's private key, signed certificate, and CA certificate for server authentication./opt/puppetlabs/puppet/cache/state/agent_disabled.lock
Lock file created when the agent is disabled, containing the disable message as JSON.
CAVEATS
Requires Puppet installation. Needs server or local manifests. Root privileges required.
HISTORY
Puppet was created by Luke Kanies in 2005. The agent component manages system configuration across infrastructure.

