Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

report on poorly configured proxy communications #2

Open
jessereynolds opened this issue Feb 29, 2016 · 1 comment
Open

report on poorly configured proxy communications #2

jessereynolds opened this issue Feb 29, 2016 · 1 comment

Comments

@jessereynolds
Copy link

At a customer site we ran into the following problem:

  • /etc/profile.d/proxy.sh was setting http_proxy, HTTP_PROXY, https_proxy, HTTPS_PROXY to be the company's outbound proxy server. This is required for internet access, including during installation of puppet enterprise
  • however the local IP that puppet services should listen on was not present in the no_proxy, NO_PROXY environment variables, so later on we get an error about classification not being able to be set, presumably because local http/https communications were being routed via the company's proxy servers

The workaround during installation was to add the local IP for the puppet master fqdn to the no_proxy and NO_PROXY environment variables

Perhaps the preflight could look for the presence of any http(s)_proxy environment variables, and if they are present, check that there is also an exclusion in no_proxy corresponding to the master's ip.

@GeoffWilliams
Copy link
Owner

not a bad idea :) I haven't maintained this script for a while - if I revisit it this is certainly something to look at

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants