On Tue, Mar 02, 2010 at 10:45:32AM -0500, Mark Burgess wrote:
>
>Why don't you use the expand_template method for file editing?

I already do.

I am working on writing several things "around" this, so that I canget
to calling expand_template in a generalized bundle, instead of
duplicating many lines of code for each file I want to template.

There are two core promises:  one promise to get the template file, and
one promise to call expand_template and create the final file based on
certain checks.  But this is all separate from the original problem of
string manipulation.



-- 
Jesse Becker
NHGRI Linux support (Digicon Contractor)
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to