On 13 Jun 2013 07:38, “Steven Danna” email@example.com wrote:
On 6/12/13 2:51 AM, Alex Kiernan wrote:
The bit I can’t spot is if there’s any support for https_proxy and
no_proxy environment variables so gems work correctly - client.rb.erb
addresses the http_proxy one but not the other two.
I believe you are correct and that we don’t currently set the
environment variables for these items. I don’t see an open bug for this
issue in JIRA: http://tickets.opscode.com/browse/COOK but it does seem
like a reasonable addition to the cookbook.
Thanks for the confirmation. I’ll get a ticket opened and code up a pull
One nice new feature, however, that will let you add this to your config
easily without modifying the chef-client cookbook directly is the
addition of an /etc/chef/client.d/ directory. See the “Configuration
Includes” section of the README for details.
Yeah I saw that, though I wasn’t sure if that was just for config items or
if you could inject arbitrary assignments. Actually now I stop and think
about it there’s no real difference is there.