Configure a setting in the puppet.conf
file such as runinternal
, use-cached-catalog
, or http-proxy-host
in Puppet Enterprise. See a list of configuration settings in our documentation.
Version and installation information
PE version: All supported
Solution
You have options when configuring a setting in the puppet.conf
file. To configure a setting on a small number of agents, use the command line. To configure a setting on several agents, use the puppet_conf
or inifile
modules from The Forge.
Configure the setting on the command line
To configure the setting on the command line, run:
sudo puppet config set <SETTING NAME> <VALUE> --section <CONFIG SECTION>`
For example, to configure the runinterval
setting to three hours with the puppet config set
command, run:
sudo puppet config set runinterval 3h --section agent
To learn more about configuring settings on the command line, read our documentation.
Configure the setting for multiple agents using the puppet_conf
module
To configure the setting for multiple agents, download the puppet_conf
module in The Forge. The module installs a task in PE for you to configure the parameter on multiple agents.
Configure the setting to apply to nodes with matching classes using the inifile
module
To configure the setting on an agent and automatically have the setting apply to nodes with matching classes, download the inifile
module in The Forge, and use Puppet code to manage the parameters in the puppet.conf
file.
How can we improve this article?
0 comments
Please sign in to leave a comment.
Related articles