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
/filesdirectory 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
/templatesdirectory in a cookbook.
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.