: Cfengine Help: cfengine program flow
Justin,
After reading the whole thread I realized that if I need a local class
to be reevaluated all I have to do is put in the action clause to it
something like:
Classes:
"baboom" expression => whatever,
Action => immediate
om: Justin Lloyd [mailto:jll...@digitalglobe.com]
Sent: Wednesday, April 21, 2010 6:09 PM
To: Lebel, Marco; fo...@cfengine.com; help-cfengine@cfengine.org
Subject: RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow
Marco,
It appears you are correct. Given this test file:
bod
into clarifying this for myself.
Marco
-Original Message-
From: Jesse Becker [mailto:becker...@mail.nih.gov]
Sent: Wednesday, April 21, 2010 10:48 PM
To: Lebel, Marco
Cc: Justin Lloyd; fo...@cfengine.com; help-cfengine@cfengine.org
Subject: Re: Cfengine Help: Re: RE: Cfengine Help: cfengi
.org
>[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of Justin Lloyd
>Sent: Wednesday, April 21, 2010 5:31 PM
>To: fo...@cfengine.com; help-cfengine@cfengine.org
>Subject: RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow
>
>As I understand it, it will reevalu
t;Justin
>
>-Original Message-
>From: d...@lonewolf.com [mailto:d...@lonewolf.com] On Behalf Of
>daniel.kl...@cfengine.com
>Sent: Wednesday, April 21, 2010 4:08 PM
>To: Lebel, Marco
>Cc: Justin Lloyd; fo...@cfengine.com; help-cfengine@cfengine.org
>Subject: Re: Cfen
PM
>To: fo...@cfengine.com; help-cfengine@cfengine.org
>Subject: RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow
>
>As I understand it, it will reevalute the class promise, and therefore
>check for the file's existence, on all three iterations. A good way to
>see wha
dg (2)
>nova>classes in bundle dg (2)
>nova>vars in bundle dg (3)
>nova>classes in bundle dg (3)
>
>Note how it does 3 iterations of the promise types in bundle "def", then
>3 of bundle "update", etc. ("dg" is a custom bundl
cific example of how this may be causing a problem
for you? If so, please state your problem as a business requirement
rather than providing example code, which can often confuse matters.
Justin
-Original Message-
From: Lebel, Marco [mailto:marco.le...@domtar.com]
Sent: Wednesday, Apri
el, Marco
Cc: Justin Lloyd; fo...@cfengine.com; help-cfengine@cfengine.org
Subject: Re: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow
Kinda-sorta :-)
Classes that are defined in a "common" bundle are global. Classes that
are
defined in any other kind of bundle are local to
undle dg (2)
> nova>classes in bundle dg (2)
> nova>vars in bundle dg (3)
> nova>classes in bundle dg (3)
>
> Note how it does 3 iterations of the promise types in bundle "def", then
> 3 of bundle "update", etc. ("dg" is a custom
uot;, etc. ("dg" is a custom bundle of mine).
Justin
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of
fo...@cfengine.com
Sent: Wednesday, April 21, 2010 3:22 PM
To: help-cfengine@cfengine.org
Subject: Cfengine Help
is a custom bundle of mine).
Justin
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of
fo...@cfengine.com
Sent: Wednesday, April 21, 2010 3:22 PM
To: help-cfengine@cfengine.org
Subject: Cfengine Help: Re: RE: Cfengine He
org] On Behalf Of Justin Lloyd
Sent: Wednesday, April 21, 2010 3:12 PM
To: fo...@cfengine.com; help-cfengine@cfengine.org
Subject: RE: Cfengine Help: cfengine program flow
Nicolas,
Cfengine evaluates all bundles as they are ordered within the
bundlesequence. Within each bundle, it evaluates the
Forum: Cfengine Help
Subject: Re: RE: Cfengine Help: cfengine program flow
Author: nicolas
Link to topic: https://cfengine.com/forum/read.php?3,16959,16960#msg-16960
thanks for the fast response.
it helps, i thought this is a recommendation :-/ (i should read more exactly)
but one question i
based on class C1, etc.
Does that help?
Justin
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of
fo...@cfengine.com
Sent: Wednesday, April 21, 2010 3:00 PM
To: help-cfengine@cfengine.org
Subject: Cfengine Help: cfengine
that you would require more then one
run.
Marco
-Original Message-
From: help-cfengine-boun...@cfengine.org
[mailto:help-cfengine-boun...@cfengine.org] On Behalf Of fo...@cfengine.com
Sent: Wednesday, April 21, 2010 5:00 PM
To: help-cfengine@cfengine.org
Subject: Cfengine Help: cfengine
Forum: Cfengine Help
Subject: cfengine program flow
Author: nicolas
Link to topic: https://cfengine.com/forum/read.php?3,16957,16957#msg-16957
hi
I thought i understand the program flow of cfengine more or less, but today i
recognized i really don't :-/
I hope anybody can helpe me to clear a f
17 matches
Mail list logo