Open docwhat opened 9 years ago
I don't use the cookbooks/ directory in my chef-repo. I would like a way to turn off this checklist, if possible.
cookbooks/
I can imagine other cases where people would want turn off certain Checklists.
I figured this out:
# Turn off the cookbook inspector if Chef::Knife.const_defined?(:Inspect) Chef::Knife::Inspect::CHECKLISTS.delete 'Cookbooks' end
But I'm not sure it is the recommended way. If it is, can you add it to the FAQ?
Hi! I haven't had time to work on knife-inspect recently, there's a pull request that does what you're asking: #31
I'm going to try to review the pull requests tomorrow.
I don't use the
cookbooks/
directory in my chef-repo. I would like a way to turn off this checklist, if possible.I can imagine other cases where people would want turn off certain Checklists.
I figured this out:
But I'm not sure it is the recommended way. If it is, can you add it to the FAQ?