- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: Re: any plan for partial templates in Chef?
- Date: Mon, 12 Nov 2012 09:22:13 -0800
On Sunday, November 11, 2012 at 4:31 PM, John Dyer wrote:
Hey Guys,
-John
On Sun, Nov 11, 2012 at 7:02 PM, Juanje Ojeda Croissier
<
" target="_blank">
> wrote:
+1
On Sun, Nov 11, 2012 at 9:17 PM, Ranjib Dey <
">
> wrote:
> +1 for this.
>
> On Nov 11, 2012 1:02 PM, "Bryan Berry" <
">
> wrote:
>>
>> Is there any plan to add Rails-style partials to Chef?
>>
http://rdoc.info/docs/rails/3.2.8/ActionView/PartialRenderer
>>
>> In my mind they would be incredibly useful, particularly for giant XML
>> configuration documents where 95% is boilerplate but the remaining 95% is
>> heavily customized for each application
--
Juanje
http://about.me/juanje
I don't think Opscode will be able to get to this soon, but we'd definitely welcome a patch for this. The only tricky bit is that you need to factor out the logic for finding and downloading templates so that you can use it in the partial rendering code. The relevant bits are here: https://github.com/opscode/chef/blob/master/lib/chef/provider/template.rb#L81-94
- [chef] any plan for partial templates in Chef?, Bryan Berry, 11/11/2012
- [chef] Re: any plan for partial templates in Chef?, Ranjib Dey, 11/11/2012
- [chef] Re: Re: any plan for partial templates in Chef?, Bryan Berry, 11/11/2012
- [chef] Re: Re: any plan for partial templates in Chef?, Juanje Ojeda Croissier, 11/11/2012
- [chef] Re: Re: Re: any plan for partial templates in Chef?, John Dyer, 11/11/2012
- [chef] Re: Re: Re: Re: any plan for partial templates in Chef?, Daniel DeLeo, 11/12/2012
- [chef] Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Bryan Berry, 11/12/2012
- [chef] Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Andrea Campi, 11/13/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Daniel DeLeo, 11/13/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Bryan Berry, 11/13/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?, Bryan Berry, 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: any plan for partial templates in Chef?, Andrea Campi, 11/14/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Bryan Berry, 11/14/2012
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: any plan for partial templates in Chef?, Peter Norton, 11/14/2012
Archive powered by MHonArc 2.6.16.