Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 603 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 603 Bytes

Code Generator Cookbook

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

Creating a Cookbook

Using our organization defaults, the command to create a new cookbook from the osuosl-cookbooks directory, is:

chef generate cookbook COOKBOOK