You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's standard to define proxies in chef config in URL form. Cygwin doesn't like that. The fix below to the single line of code solves the issue and retains backward compatibility.
module Cygwin
module Helpers
def proxy_command
Chef::Config['http_proxy'].nil? ? "" : "--proxy #{Chef::Config['http_proxy'].gsub('http://', '')}"
end
end
end
The text was updated successfully, but these errors were encountered:
It's standard to define proxies in chef config in URL form. Cygwin doesn't like that. The fix below to the single line of code solves the issue and retains backward compatibility.
The text was updated successfully, but these errors were encountered: