[chef] Dynamically load a role?


Chronological Thread 
  • From: John Alberts < >
  • To:
  • Subject: [chef] Dynamically load a role?
  • Date: Mon, 16 Jan 2012 16:39:55 -0600

I know I can add a role to a node's run_list by doing node.run_list << "role[myrole]"

The problem is that the role's attributes aren't applied until the next chef-client run.  Is there any way to dynamically load a role so that the new attributes are available immediately?

Thanks


--
John




Archive powered by MHonArc 2.6.16.

§