- From: "Jason J. W. Williams" <
>
- To: "
" <
>
- Cc: "
" <
>
- Subject: [chef] Re: Re: Selective inclusion of attribute files
- Date: Wed, 25 May 2011 23:51:32 -0600
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; b=AkFhG3YHRBgFNA63qPaQaimLQ4IIPJJ1+9837zf2PpUhPVVgbxcl7/bpXJxbJfm/XL PId81Yeuo0zJF/FnFasKbL4N4nHvkhyartSpGyWUaugOITUHIDP0UjBBN3WlFWSEd4VA Enr76HduC4VaWNjNMG7E1NQiPc/DwlUprq58U=
This is a specialized MySQL install (special binary for various reasons). Was
hoping to just make it a variant of our main MySQL cookbook. Sounds like the
better option is making it it's own cookbook. Since its more than just
attribute customization. Thank you for your help.
-J
Sent via iPhone
Is your email Premiere?
On May 25, 2011, at 22:06, Adam Jacob
<
>
wrote:
>
On May 25, 2011, at 4:56 PM, Jason J. W. Williams wrote:
>
>
> If I have two attribute files (server_type_a.rb and server_type_b.rb)
>
> how can I ensure that recipes/default.rb only uses
>
> attributes/server_type_a.rb and recipes/server_b.rb only uses
>
> attributes/server_type_b.rb?
>
>
If you really want this, you can check to see if the current node has a
>
role/recipe/tag applied inside the attribute files.
>
>
A better way, though, would be to use a role for this - have a single
>
attribute file that sets a sane default, and a role for server_type_a and
>
server_type_b.
>
>
Best,
>
Adam
Archive powered by MHonArc 2.6.16.