- From: "Jason J. W. Williams" <
>
- To: "
" <
>
- Cc: "
" <
>
- Subject: [chef] Re: Re: Listing files in cookbook/files/default/
- Date: Sun, 25 Sep 2011 18:10:26 -0600
Is there a way to iterate the files list through the API? Do templates follow the same rule?
-J Sent via iPhone
Is your email Premiere? On Sep 25, 2011, at 13:44, Joshua Timberman <
">
> wrote: Hello, On Sep 24, 2011, at 17:06, "Jason J. W. Williams" <
">
">
> wrote:
Is there a better way to dynamically list the contents of the <cookbook>/files/default/ directory from a recipe at runtime than inspecting that path in /var/chef/cache/cookbooks ?
My concern is that the Chef sometimes removes files from the cache that are in the cookbook but it doesn't consider currently needed.
Chef only downloads cookbook_file and template assets if it needs to render the target file. Otherwise they are cleaned up at the end of the chef run.
|
Archive powered by MHonArc 2.6.16.