[chef] Re: Re: any plan for partial templates in Chef?


Chronological Thread 
  • From: Bryan Berry < >
  • To:
  • Subject: [chef] Re: Re: any plan for partial templates in Chef?
  • Date: Sun, 11 Nov 2012 22:21:54 +0100

even more telling would be a giant xml configuration document like that for JBoss where I need to make add a parameter at the beginning and another at the end. In between the beginning and end are 300 lines of boilerplate :/. I would be able to DRY up that template by including the middle section as a partial, resulting in a much more readable and maintainable template

On Sun, Nov 11, 2012 at 10:17 PM, Ranjib Dey < " target="_blank"> > wrote:

+1 for this.

Is there any plan to add Rails-style partials to Chef?

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




Archive powered by MHonArc 2.6.16.

§