Puppet: How do i setup puppet module behind a proxy?

0 votes
I want to setup puppet module behind my proxy server. Can somebody help me in setting up the same?
Aug 9 in Puppet by Mathew
147 views

1 answer to this question.

0 votes

To use the puppet module command behind a proxy, set the proxy's IP address and port by running the following two commands:

export http_proxy=http://<PROXY IP>:<PROXY PORT> 
export https_proxy=http://<PROXY IP>:<PROXY PORT>

For instance, for an proxy at 192.168.0.10 on port 8080, run:

export http_proxy=http://192.168.0.10:8080 
export https_proxy=http://192.168.0.10:8080

Alternatively, you can set these two proxy settings in the puppet.conf file, by setting http_proxy_host and http_proxy_port in the user section of puppet.conf. 

For more information, see https://puppet.com/docs/puppet/6.7/modules_installing.html

answered Aug 9 by Sirajul
• 41,000 points

Related Questions In Puppet

0 votes
1 answer

Puppet: How do i install a module from a tarball?

Installing from a release tarball: To install a ...READ MORE

answered Aug 29 in Puppet by Sirajul
• 41,000 points
32 views
0 votes
1 answer

How do I start a puppet server?

Hey if you're using Ubuntu, you can ...READ MORE

answered Feb 21 in Puppet by Kavyashri
45 views
0 votes
1 answer
0 votes
1 answer

Puppet+Docker: How do i configure my docker container to use a NFS volume through a Hiera config file?

If using Hiera, configure the docker::volumes class in the ...READ MORE

answered Aug 14 in Puppet by Sirajul
• 41,000 points
40 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
261 views
0 votes
1 answer
0 votes
1 answer

Puppet in Docker: How do I query PuppetDB API in a container setup?

PuppetDB exposes a dashboard, showing various operational ...READ MORE

answered Aug 20 in Puppet by Sirajul
• 41,000 points
66 views