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, 2019 in Puppet by Mathew
2,934 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, 2019 by Sirajul
• 59,230 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, 2019 in Puppet by Sirajul
• 59,230 points
1,125 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, 2019 in Puppet by Kavyashri
425 views
0 votes
1 answer

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

docker_volume { 'nfs-volume': ensure => ...READ MORE

answered Aug 13, 2019 in Puppet by Sirajul
• 59,230 points
536 views
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, 2019 in Puppet by Sirajul
• 59,230 points
734 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,519 views
+2 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, 2019 in Puppet by Sirajul
• 59,230 points
897 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP