- From: Ranjib Dey <
>
- To: "
" <
>
- Subject: [chef] Re: Environment Inheritence
- Date: Thu, 18 Jun 2015 13:30:25 -0700
i use environment heavily as well, and face the same problem. The trick i use is have a environments/common folder which container coomon things in yaml file (or ruby if you like) that is just data. Top level environments (say environments/foo.rb) can directly read that yaml, and deep_merge! (one of dans many awesome works :-) ) that directly in default_attributes method. this allows me to keep the common data and reuse it.,
hope that helps.
- [chef] Environment Inheritence, Douglas Garstang, 06/18/2015
- [chef] Re: Environment Inheritence, Nathen Harvey, 06/18/2015
- [chef] Re: Environment Inheritence, Drew Blessing, 06/18/2015
- [chef] Re: Environment Inheritence, Brian O'Connell, 06/18/2015
- [chef] Re: Environment Inheritence, Ranjib Dey, 06/18/2015
- [chef] Re: Environment Inheritence, Ranjib Dey, 06/18/2015
- [chef] Re: Re: Environment Inheritence, Douglas Garstang, 06/18/2015
- [chef] Re: Re: Re: Environment Inheritence, Yoshi Spendiff, 06/18/2015
- [chef] Re: Re: Re: Re: Environment Inheritence, Galen Emery, 06/18/2015
- [chef] Re: Re: Re: Re: Re: Environment Inheritence, Douglas Garstang, 06/18/2015
- [chef] Re: Re: Re: Re: Re: Environment Inheritence, Douglas Garstang, 06/18/2015
- [chef] Re: Re: Re: Re: Re: Environment Inheritence, Douglas Garstang, 06/18/2015
- [chef] Re: Re: Re: Re: Re: Re: Environment Inheritence, Yoshi Spendiff, 06/18/2015
- [chef] Re: Re: Re: Re: Re: Re: Re: Environment Inheritence, Douglas Garstang, 06/18/2015
- [chef] Re: Re: Re: Re: Re: Re: Re: Environment Inheritence, Douglas Garstang, 06/18/2015
Archive powered by MHonArc 2.6.16.