There's more…
You can pass patterns to the knife show
command to tell it exactly what you want to see. Showing the attributes defined by the cookbook can be done as follows:
mma@laptop:~/work/chef_helpster $ knife show cookbooks/iptables/attributes/* cookbooks/iptables/attributes/default.rb: # # Cookbook Name:: iptables # Attribute:: default ...TRUNCATED OUTPUT...
Get Chef Cookbook - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.