[chef] Get available recipes and apply them to a node


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Get available recipes and apply them to a node
  • Date: Thu, 18 Feb 2010 07:50:34 -0800 (PST)

Hi again!

I want to get all available recipes and apply them to a node. How can I do
that? I tried it by loading a cookbook and accessing the recipes of that
cookbook. But it seems I can only recieve a recipes name by doing so - but I
need a Chef::Recipe for doing node.run_list << a_recipe!

Any suggestions?

PS: i'm using chef 0.7.16



Archive powered by MHonArc 2.6.16.

§