Set a proxy for agent traffic

General proxy settings in an agent node's puppet.conf file are used to manage HTTP connections directly initiated by the agent node.

To configure agents to communicate through a proxy, you must set the http_proxy_host and http_proxy_port settings in the agent node's puppet.conf file.

  1. On the agent node, open the puppet.conf file, which is located at: /etc/puppetlabs/puppet/puppet.conf
  2. Add the following lines to the file, with values specific to your proxy:
    http_proxy_host = proxy.example.vlan
    http_proxy_port = 8080

For more information about HTTP proxy host options, including no_proxy, go to the http_proxy_host entry in the PuppetConfiguration Reference.

You can Configure PXP agent parameters to set proxies for PXP agents.

Related information