class ChefConfig::Config

def self.export_proxies

users don't have to
TODO add some post-file-parsing logic that automatically calls this so
parsed and loaded.
environment variables. This method should be called after the config file is
Public method that users should call to export proxies to the appropriate
def self.export_proxies
  export_proxy("http", http_proxy, http_proxy_user, http_proxy_pass) if key?(:http_proxy) && http_proxy
  export_proxy("https", https_proxy, https_proxy_user, https_proxy_pass) if key?(:https_proxy) && https_proxy
  export_proxy("ftp", ftp_proxy, ftp_proxy_user, ftp_proxy_pass) if key?(:ftp_proxy) && ftp_proxy
  export_no_proxy(no_proxy) if key?(:no_proxy) && no_proxy
end