title: chef-solo copying resources to cache directory
body: <p>I'm trying to copy all the files and folder that are under the "files" directory which contains all the resources of a recipe to the cache directory of chef.
  I'm using this:</p>
  
  <pre><code>cookbook_file test_file do
    path "#{Chef::Config[:file_cache_path]}/some_file"
    action :create_if_missing
    mode 0755
  end
  </code></pre>
  
  <p>which works fine but this is just a single file. I want to do it for all files and directories. I tried using wild cards "*" which did not work. There might be something like a  search or filter that can do it. Any ideas?</p>