[chef] Modifying node run list from within a recipe?


Chronological Thread 
  • From: Brad Knowles < >
  • To: " " < >
  • Cc: Brad Knowles < >
  • Subject: [chef] Modifying node run list from within a recipe?
  • Date: Tue, 27 Aug 2013 09:05:13 -0500

Folks,

So, I've done some searching through the documents, and searching through the 
archives, and feeding various terms into Google, and I'm still coming up 
empty.

In short, I know that I could do a "knife node run_list add" from within a 
recipe, but I figure there has to be a better way to do this from within Ruby 
itself, and which doesn't involve dependency on a tool that shouldn't have to 
be installed on every single node that might run some random application.


I must be missing something obvious, but I don't know what it is.  Any and 
all assistance or pointers you can provide will be greatly appreciated.

Thanks!

--
Brad Knowles 
< >
LinkedIn Profile: <http://tinyurl.com/y8kpxu>




Archive powered by MHonArc 2.6.16.

§