Title: Message Title
Robert August Vincent II updated an issue
Facter / FACT-1593
facter 2.4.6 should disable proxy when fetching metadata from 169.254.169.254
Change By:
Robert August Vincent II
Facter version 2.4.6 uses the openuri mixin, which is affected by the {{ ENV['http_proxy'] }} setting.It retrieves EC2 metadata by contacting the metadata server at 169.254.169.254. If {{ENV[' http_proxy ']}} is set, facter will wind up retrieving the metadata of the proxy server rather than its own metadata.To avoid this, calls to open must include the ", {{ :proxy => nil " }} modifier. In fact, some of the metadata calls have this modifier, but not all.I have submitted [PR 1532|https://github.com/puppetlabs/facter/pull/1532] to resolve this problem.
Add Comment
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.