- From: "Mark J. Reed" <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: How do I test an attribute value in an
- Date: Mon, 27 Jun 2011 09:16:31 -0400
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=CI+AnzGnp5W01depktvBvV0lQvuFKp6EAUnrsq8hWP7svn5rLvZlpJEtSBMp786KGL Mnxb19tgoyUNu8gzjCpnpEGi3Hu3MKZe89R9Ivv5TvoV3lhELLgq2GWJJc36UGmBuoqg +HKleaT1D+dMh3mOn/WCAj6rFzA1K3FK/OuiI=
On Mon, Jun 27, 2011 at 9:12 AM, Mark J. Reed
<
">
> wrote:
Role:
override[:my_cookbook][:my_attribute] = "overridden"
Well, that's still attributes file syntax; in an actual role definition, that would look more like this:
{
"name": "use-my-cookbook",
"chef_type": "role",
"override_attributes": {
"my_cookbook": {
"my_attribute": "overridden"
}
},
"run_list": [
"my_cookbook"
]
}
--
Mark J. Reed <
">
>
Archive powered by MHonArc 2.6.16.