Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 0.8.10
-
Fix Version/s: None
-
Component/s: Chef Client
-
Labels:None
Description
Please add support for http proxy in client code so that clients inside a firewall can contact a chef server outside the firewall.
For example: chef/lib/chef/rest.rb run_request uses Net::HTTP.new. Please add optional --proxy parameter to command line (or, even better, detect http_proxy env variable) and use Net::HTTP.Proxy when appropriate.
Activity
Bryan McLellan [Opscode]
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Workflow | jira [ 11630 ] | New OSS [ 17227 ] |
Bryan McLellan [Opscode]
made changes -
| Workflow | New OSS [ 17227 ] | OSS: Product Management [ 24871 ] |
Here is a patch for chef 0.8.10 chef/lib/chef/rest.rb
http://gist.github.com/380675
Turns out we need to patch a few more files for knife cookbook upload, too:
chef/lib/chef/streaming_cookbook_uploader.rb
chef/lib/chef/knife/cookbook_upload.rb
There's probably a more elegant way to to do this, but I didn't want to go on a big refactoring mission.
http://gist.github.com/380716