- From: Mike Williams <
>
- To:
- Subject: [chef] Re: Re: Overriding cookbook attributes in a role - am I doing it wrong?
- Date: Wed, 24 Nov 2010 07:10:35 +1100
On 24/11/2010, at 03:45 , Mark J. Reed wrote:
>
On Tue, Nov 23, 2010 at 2:47 AM, Mike Williams
>
<
>
>
wrote:
>
> I have an attribute default set in a cookbook attributes file:
>
> which I'm attempting to override in a role:
>
> I then apply that role to a node:
>
>
A node doesn't get its attributes updated until chef-client runs on
>
that node. Did that happen between the role change and the "knife
>
node show?"
Yes, I ran chef-client after the role change.
Do the node attributes actually get "updated", ie. persisted? I assumed that
the role attributes and cookbook attributes would just be merged with the
node attributes at chef-client runtime.
--
cheers,
Mike Williams
Archive powered by MHonArc 2.6.16.