If an HTTP proxy is configured either in puppet settings or the HTTP_PROXY_* environment variables, then puppet will not use the proxy when connecting to localhost or 127.0.0.1. This behavior can be modified by changing the no_proxy puppet setting or the NO_PROXY environment variable.