puppet-agent

Retrieves the client configuration from a Puppet server and applies it to the local host.

TLDR

Register a node at a Puppet server and apply the received catalog

$ puppet agent --test --server [puppetserver_fqdn] --serverport [port] --waitforcert [poll_time]
copy

Run the agent in the background (uses settings from puppet.conf)

$ puppet agent
copy

Run the agent once in the foreground, then exit

$ puppet agent --test
copy

Run the agent in dry-mode

$ puppet agent --test --noop
copy

Log every resource being evaluated (even if nothing is being changed)

$ puppet agent --test --evaltrace
copy

Disable the agent

$ puppet agent --disable "[message]"
copy

Enable the agent

$ puppet agent --enable
copy

Copied to clipboard
chromebooks