Search the Chef server

Use the knife search command to list nodes that match the provided criteria

Find nodes with a specific cookbook in the run list (runlist)

knife search node 'recipes:MY_COOKBOOK\:\:*'

Find nodes with a specific recipe in the run list (runlist)

knife search node 'recipes:MY_COOKBOOK\:\:MY_RECIPE'

Leave a comment

Leave a Reply