[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Executing a file only on later passes

From: Mark . Burgess
Subject: Re: Executing a file only on later passes
Date: Mon, 3 Nov 2003 19:03:57 +0100 (MET)

Chip, John,

The second pass is just like the next invocation of cfagent.
Nothing will change by eliminating it except that the system will
not be completely configured in a single iteration. The ordering
of events is nothing to do with this. It just speeds up convergence
for 90% of cases with hidden dependencies.

> OK.  It does cause things to sometimes (rarely) be executed in an 
> unexpected order, however.  Life might be made easier if we made this a 
> bit more user-accessible; for example, define a 'laterpass' class (or 
> something similar) after the first pass is done.  This would aid in 
> debugging (add a !laterpass condition and see if the problem persists 
> and the like) and allow for some clever hacks.

The second pass is only used if there are classes defined that have
restricted the first pass, leaving some potentially unexecuted actions
that would not be possible to evaluate.

If you want to control the order of things (which should not be
necessary if you just trust the agent) then reorganize the
input files. But who cares what the order is if it gets done?
> This isn't a major problem, but it can be frustrating.  No doubt this 
> frustration is exacerbated by a lack of grokking on my own part.

Yup. Whern things get complex they are hard to understand.

Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :

reply via email to

[Prev in Thread] Current Thread [Next in Thread]