Where is node.recipes now?

I want to have access to the list of recipes that are converged on a node. In a recipe.

With newer Chef client something like node.recipes.join(', ') is no longer possible. The method recipes is no longer there.

Is there still a way to access some recipe list?

node.recipes relied on some brittle magic in chef-client that has been removed. You can still get that same data though by using node['recipes'].


1 Like