[chef] Listing files in cookbook/files/default/


Chronological Thread 
  • From: "Jason J. W. Williams" < >
  • To:
  • Subject: [chef] Listing files in cookbook/files/default/
  • Date: Sat, 24 Sep 2011 17:06:47 -0600

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.
Thank you in advance.

-J



Archive powered by MHonArc 2.6.16.

§