help-cfengine
[Top][All Lists]
Advanced

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

Re: Execution order when files are imported?


From: Josef Wolf
Subject: Re: Execution order when files are imported?
Date: Thu, 2 Sep 2004 14:11:22 +0200
User-agent: Mutt/1.4.1i

On Thu, Sep 02, 2004 at 11:47:25AM +1000, Jamie Wilkinson wrote:

> >  foo.cf/files
> >  foo.cf/links
> >  foo.cf/directories
> >  bar.cf/links
> >  bar.cf/files
> 
> cfagent.conf gets executed in its entirety first, then the imports are
> processed in the order you specify, i.e.:
> 
> cfagent.conf read and executed
> foo.cf read
> bar.cf read
> all imports executed
> 
> The actionsequence defines the order of execution, so then:
> 
> foo.cf/files
> bar.cf/files
> foo.cf/links
> bar.cf/links
> foo.cf/directories
> 
> I do nothing except import in cfagent.conf, so that things behave as I
> expect them to, and I only define the actionsequence once (in the first file
> imported by cfagent.conf)

But please note that foo.cf requires files executed before links while
bar.cf requires links before files.  How do you achieve this?

-- 
Please visit and sign and http://www.ffii.org
-- Josef Wolf -- jw@raven.inka.de --



reply via email to

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