- From: Noah Kantrowitz <
>
- To:
- Subject: [chef] Re: Valid attributes for Chef::Config?
- Date: Mon, 14 Sep 2015 13:05:54 -0700
On Sep 14, 2015, at 1:03 PM, Fouts, Chris
<
>
wrote:
>
I’ve been using Chef::Config[:file_cache_path] to get the local Chef cache
>
directory. What are some other valid other attributes, and where are they
>
documented? I did search. For example I want to find the currently
>
executing cookbook name.
Docs at
https://docs.chef.io/config_rb_client.html. Current the current
cookbook name is not related to the global config, but you can get it via
`cookbook_name` thanks to
https://github.com/chef/chef/blob/master/lib/chef/recipe.rb#L44.
--Noah
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
Archive powered by MHonArc 2.6.16.