Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 294 Bytes

example-code-lit.md

File metadata and controls

10 lines (9 loc) · 294 Bytes

Without any recipes, we need to acquire them automatically from the specified run list. If you have roles listed in your run list they are NOT expanded.

if recipes.empty? and Chef::Config[:solo]
  node.run_list.map do |item|
    item.name if item.type == :recipe
  end
end