The chefignore file is used to tell knife which cookbook files in the chef-repo should be ignored when uploading data to the Chef server. If you want to read full article then click the link.
Very clear explanation of why chefignore matters—treating it like a “.gitignore for Chef” really helps new users understand how to keep junk, temp files, and VCS metadata out of the Chef server.
Comments