I apologize for asking this but I have been beating my head against a wall for almost 3 days in efforts to find a solution.
I inherited a chef server running chef 10.18.2 and while I am not perplexed by it much, the challenges it has placed upon me are ‘challenging’
I have a node that is behind a proxy. I added http_proxy and https_proxy to /etc/chef/client.rb.
When I run a chef-client, it connects until it hits a reference to RestClient.get which is not going through the proxy(I have confirmed this by watching the cisco asa that is acting as the proxy, everything goes through the proxy until this at which time it tries to connect directly to the chef-server.)
I freely admit I need to learn more about ruby and chef to be able to admin this better, but could anyone please tell me how to either change the ENV for Rest or RestClient? I have researched this and keep finding references to adding it in to the restclient.rb which I have found, but adding to the .rb makes no changes.
I am at my wits end and I need a good solution.
Thank you in advance.