It seems like the new code in 5.5.17 is now using the system environment variables which it didn't before.
The http_proxy.rb code in 5.5.16 deferred to the system environment proxy variables before this change: https://puppet.com/docs/puppet/latest/configuration.html#httpproxyhost
The HTTP proxy host to use for outgoing connections. Note: You may need to use a FQDN for the server hostname when using a proxy. Environment variable http_proxy or HTTP_PROXY will override this value
https://github.com/puppetlabs/puppet/blob/5.5.15/lib/puppet/util/http_proxy.rb#L82 The same is true after this change: https://github.com/puppetlabs/puppet/blob/5.5.17/lib/puppet/util/http_proxy.rb#L82 With this change, Puppet.settings[:no_proxy] was instantiated (but still defers to the system environment no_proxy variable): https://puppet.com/docs/puppet/latest/configuration.html#noproxy
List of domain names that should not go through http_proxy_host. Environment variable no_proxy or NO_PROXY will override this value.
https://github.com/puppetlabs/puppet/blob/5.5.17/lib/puppet/util/http_proxy.rb#L35 https://github.com/puppetlabs/puppet/blob/5.5.17/lib/puppet/util/http_proxy.rb#L134 Before this change, only the system environment no_proxy variable was used: https://github.com/puppetlabs/puppet/blob/5.5.15/lib/puppet/util/http_proxy.rb#L36 Given your configuration where system environment proxy variables are set, I would expect ... In 5.5.16:
- Line 007 to call self.no_proxy?()
Line 033 in self.no_proxy?() to set its no_proxy_env variable to "localhost,127.0.0.1" from ENV self.no_proxy? to return false unless the dest parameter is in the no_proxy variable Line 010 to setup the proxy if self.no_proxy?() returned false
In 5.5.17:
- Line 007 to call self.no_proxy?()
Line 036 in self.no_proxy?() to call self.no_proxy() and set its no_proxy variable to "localhost,127.0.0.1" from ENV self.no_proxy? to return false unless the dest parameter is in the no_proxy_env variable Line 010 to setup the proxy if self.no_proxy?() returned false
Could you run "puppet agent -t --noop --debug --http_debug" and reply with just the output related this error? |