knife recipe list
Use the knife recipe list
subcommand to view all of the recipes that are on a Chef Infra Server. A regular expression can be used to limit the results to recipes that match a specific pattern. The regular expression must be within quotes and not be surrounded by forward slashes (/).
Syntax
This subcommand has the following syntax:
knife recipe list REGEX
Options
Note
This command does not have any specific options.
Examples
The following examples show how to use this knife subcommand:
View a list of recipes
To view a list of recipes:
knife recipe list 'couchdb::*'
to return:
couchdb::main_monitors
couchdb::master
couchdb::default
couchdb::org_cleanup
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/knife_recipe_list/