-
Notifications
You must be signed in to change notification settings - Fork 170
chef generate cookbook: documentation on customizing output #62
Comments
We have an unreleased change that makes this custimization possible @andrewhavens. https://github.com/opscode/chef-dk/blob/master/CHANGELOG.md#added-option-to-generate-subcommand We definitely should have more documentation about this. Can you check out if this fulfills the need for you guys? |
Yes, that looks like the feature I am asking about. From what I understand, it looks like it provides the ability to specify a path to a directory to use as the template. It's unfortunate that the name of the option is |
Thanks for the note @andrewhavens. The reason why it's called Basically this option gives you the ability to generate anything you want with a custom cookbook since the generator infrastructure utilizes Chef under the cover to generate things. |
We recently fixed the behavior of The option is documented here: http://docs.chef.io/ctl_chef.html#chef-generate-app so I'm going to close this. If you have ideas to improve that documentation, file an issue on https://github.com/chef/chef-docs and our documentation writer will have a look. A pull request to document the option in the README would also be welcomed. Thanks |
Hello,
I'm trying to find some documentation on what the
chef generate cookbook
command does and how you are supposed to customize it. The readme only mentions that it generates a cookbook (which is kind of obvious). There was a conversation started at test-kitchen/test-kitchen#425 which led us to believe that ChefDK was designed to allow us to customize the cookbook generator so that our.kitchen.yml
file could be generated to our liking. How can we customize the generator and where can I find more documentation about this?The text was updated successfully, but these errors were encountered: