- From: Zuhaib Siddique <
>
- To:
- Subject: [chef] Creating attributes that are tied to Environment and Roles
- Date: Wed, 21 Dec 2011 18:04:34 -0800
Hey All,
I am trying to figure out a solution to a problem I got and I think its not
unique but I can seem to find a clear answer on this in the wiki. So I have
a cookbook that will add your current server to a ELB pool but for it to work
you must pass it an attributes with the ELB name which we set as a role
attribute. This would be fine but the problem is I need the name to change
based on the chef environment we are using to deploy. Now I can set a
environment attribute but I have different ELB's and they need to be added
based on their roles. How can I create something that is tied to both the
environment and role.
Thanks
Zuhaib
- [chef] Creating attributes that are tied to Environment and Roles, Zuhaib Siddique, 12/21/2011
Archive powered by MHonArc 2.6.16.