- From: S Ahmed <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: mysql and root password
- Date: Mon, 16 Apr 2012 11:21:18 -0400
I've read only about setting default_attributes or override in a role, how do I set a 'normal' attribute?
BTW, what if I am setting multiple attributes, do I just wrap it in [ .. ] ? i.e.
default_attributes [
"mysql" => {},
"abc" => { }
]
On Mon, Apr 16, 2012 at 11:04 AM, Bryan McLellan
<
">
> wrote:
On Mon, Apr 16, 2012 at 11:02 AM, S Ahmed <
">
> wrote:
> default_attributes "mysql" => { "server_root_password" => "123" }
Be aware of attribute precedence.
http://wiki.opscode.com/display/chef/Attributes
Default attributes are really for when nothing else is provided.
You're trying to set a specific value, so I recommend using a normal
attribute.
Bryan
Archive powered by MHonArc 2.6.16.