- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?
- Date: Thu, 15 Nov 2012 09:21:49 -0800
On Thursday, November 15, 2012 at 9:17 AM, Peter Norton wrote:
If using a partial can cause shadowing then some namespacing should come into play in case e.g. node and node-prime with modified values are both passed in.
-Peter
I'd rather leave this up to the user. For example, if you have a template
template "/path"
variables :ports => [8000, 8080]
end
And a partial:
render "my_partial", :variables => {:ports => [4000]}
Then I think you specified your intent, and chef should respect it.
--
Daniel DeLeo
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, (continued)
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Daniel DeLeo, 11/14/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Andrea Campi, 11/14/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Andrea Campi, 11/14/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Daniel DeLeo, 11/14/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Andrea Campi, 11/14/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Bryan Berry, 11/14/2012
- Message not available
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Peter Norton, 11/15/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Daniel DeLeo, 11/15/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Peter Norton, 11/15/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Daniel DeLeo, 11/15/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Peter Norton, 11/15/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Andrea Campi, 11/18/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Bryan Berry, 11/18/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Andrea Campi, 11/18/2012
Archive powered by MHonArc 2.6.16.