I have some PCs in other Networks. The Puppet Client reach the 
Puppet-Master only over a internetproxy (proxy server squid) with 
authentification.
The masterport is 443 (HTTPS)
(Puppet client v3.7.5 (OS: Windows 7/2008/2012); Puppet Master 3.7.5 
(Debian), Foreman 1.7.5)

i have no problems to communicate over a Proxy without Authentification.
I set the two variables in the puppet.conf on the client:
http_proxy_host=PROXY-IP-ADRESSE
http_proxy_port=8080

But i don't find something about the authentification variables.
I have a workaround. I edit the file:
C:\Program Files\Puppet 
Labs\Puppet\puppet\lib\puppet\network\http\factory.rb

I added the authentification variables in the function: def 
create_connection(site)
Original without authentification: (line: 29)
args << Puppet[:http_proxy_host] << Puppet[:http_proxy_port]
NEW with authentification: (line: 29)
args << Puppet[:http_proxy_host] << Puppet[:http_proxy_port] << 
Puppet[:http_proxy_user] << Puppet[:http_proxy_password]


Is there any other way than to edit the file factory.rb?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/a633c633-33ba-4b14-99a4-0f0273a3b9dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to