Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: CFEngine Help: Thoughts about some cfengine 
design decisions?
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24294,24364#msg-24364

Jesse Becker Wrote:
-------------------------------------------------------
> On Fri, Dec 16, 2011 at 09:34:12AM -0500,
 
> >In template file promises I would like to see
> >lists other data structures work with them.  I do
> >not agree that the required two promises is too
> >much to bear.  Yes, you have to cache the template
> >file.  I suggest caching all files anyway in order
> >to survive communication loss with the policy
> >host. The alternative is a files promise for every
> >iteration of the promiser file.  At that price the
> >current template file method is a good bargain!
> 
> This is all good, but why does it need to be
> broken up?  You're
> templating.  Make caching the intermediate file
> automatic.  If you
> really want to maintain twice the promises, that's
> still certainly possible.

Logically these are two promises.  In the first promise the template file is
the promiser.  In the second promise the final config file is the promiser.
The latter depends upon the former.  Combining these may be efficient but I do
not feel we gain anything in understanding.  More likely we've just created a
special case.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to