summaryrefslogtreecommitdiff
path: root/lib/chef/application/windows_service.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-05-27 10:30:28 -0700
committerClaire McQuin <claire@getchef.com>2014-06-03 09:16:53 -0700
commit5020264ab9a5f33da30a569eff6bb06516f7159c (patch)
tree6b69930a15c96d381f0093270dcf60e133d027d1 /lib/chef/application/windows_service.rb
parent7588211ecb83c9592065359622ff6cef98d773af (diff)
downloadchef-5020264ab9a5f33da30a569eff6bb06516f7159c.tar.gz
set ENV vars for http proxies
Diffstat (limited to 'lib/chef/application/windows_service.rb')
-rw-r--r--lib/chef/application/windows_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/application/windows_service.rb b/lib/chef/application/windows_service.rb
index bea5e9fcdc..2f81256a63 100644
--- a/lib/chef/application/windows_service.rb
+++ b/lib/chef/application/windows_service.rb
@@ -211,6 +211,7 @@ class Chef
def reconfigure(startup_parameters=[])
configure_chef startup_parameters
configure_logging
+ configure_environment_variables
Chef::Config[:chef_server_url] = config[:chef_server_url] if config.has_key? :chef_server_url
unless Chef::Config[:exception_handlers].any? {|h| Chef::Handler::ErrorReport === h}