RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-22 Thread Justin Lloyd
; -Original Message- From: 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. Give

RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-22 Thread Lebel, Marco
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

RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-22 Thread Lebel, Marco
ndle) and never get unset even if the condition that initially >created it is no longer true... Again the key word is an impression that needs >to be confirmed by someone in the know or has done the necessary testing. > >Marco > >-Original Message- >From: help-cfengine-boun.

Re: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-21 Thread Jesse Becker
.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

Re: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-21 Thread Jesse Becker
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

Re: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-21 Thread Jesse Becker
ova>vars in bundle 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

Re: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-21 Thread Jesse Becker
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

RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-21 Thread Justin Lloyd
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

RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-21 Thread Justin Lloyd
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

Re: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-21 Thread daniel . klein
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

RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-21 Thread Lebel, Marco
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

RE: Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-21 Thread Justin Lloyd
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

RE: Cfengine Help: cfengine program flow

2010-04-21 Thread Justin Lloyd
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

Cfengine Help: Re: RE: Cfengine Help: cfengine program flow

2010-04-21 Thread forum
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

RE: Cfengine Help: cfengine program flow

2010-04-21 Thread Justin Lloyd
Nicolas, Cfengine evaluates all bundles as they are ordered within the bundlesequence. Within each bundle, it evaluates the promise types in the following order (from section 2.8.1 in the reference manual): vars classes interfaces processes storage

RE: Cfengine Help: cfengine program flow

2010-04-21 Thread Lebel, Marco
Hello Nicolas, To answer: 1) section 2.8 Normal ordering) of cf-engine reference book (no it is not top down) but packages are before commands and it will loop 3 times. 2) There are many reasons for a promise not to be kept without the promises at hand it is hard to say but it is possible that