- From: Noah Kantrowitz <
>
- To:
- Subject: [chef] Re: Dynamically load a role?
- Date: Mon, 16 Jan 2012 14:45:24 -0800
On Jan 16, 2012, at 2:39 PM, John Alberts wrote:
>
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?
Not really, a better way would be to have the info in a data bag that you
look up in the recipe.
--Noah
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
Archive powered by MHonArc 2.6.16.