This cookbook is used to generate new cookbooks, recipes, attributes,
lwrps, policy files, and basically any resource chef provides.
First, ensure you have this set in your ~/.chef/knife.rb
:
chefcli[:generator_cookbook] = '/opt/code_generator/code_generator'
The basic invocation from the chef-repo is:
chef generate GENERATOR
Using our organization defaults, the command to create a new cookbook from the osuosl-cookbooks directory, is:
chef generate cookbook COOKBOOK