About FilesΒΆ

Files are managed using the following resources:

  • Use the cookbook_file resource to manage files that are added to nodes based on files that are located in the /files directory in a cookbook.
  • Use the file resource to manage files directly on a node.
  • Use the remote_file resource to transfer files to nodes from remote locations.
  • Use the template resource to manage files that are added to nodes based on files that are located in the /templates directory in a cookbook.