Configure a setting in the
puppet.conf file such as
http-proxy-host in Puppet Enterprise. See a list of configuration settings in our documentation.
Version and installation information
PE version: All supported
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
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
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
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
How can we improve this article?
Please sign in to leave a comment.