Re: errors when defining classes based on built-in functions

2011-03-30 Thread M LZ
Thanks very much for your help! I'll find an workaround until a new stable version is released. Regards, mlz. On Wed, Mar 30, 2011 at 12:37 PM, Bas van der Vlies wrote: > On 30-03-11 11:01, M LZ wrote: > > I believe you, but on 3.1.4 both on sparc.solaris and debian_5.linux > doesn't. > > >

Re: errors when defining classes based on built-in functions

2011-03-30 Thread Bas van der Vlies
On 30-03-11 11:01, M LZ wrote: > I believe you, but on 3.1.4 both on sparc.solaris and debian_5.linux doesn't. > I just tested it to let you know it is fixed with a newer version. So wait till a new version is released and your problem is solved or try a svn version. > Regards, > mlz. > > > On W

Re: errors when defining classes based on built-in functions

2011-03-30 Thread M LZ
I believe you, but on 3.1.4 both on sparc.solaris and debian_5.linux doesn't. Regards, mlz. On Wed, Mar 30, 2011 at 11:57 AM, Bas van der Vlies wrote: > On 29-03-11 15:17, M LZ wrote: > > > > Hi, > > > > I encounter the following problem, extracted from a more complex config: > > > > bundle ag

Re: Cfengine Help: Re: errors when defining classes based on built-in functions

2011-03-30 Thread M LZ
: > Forum: Cfengine Help > Subject: Re: errors when defining classes based on built-in functions > Author: phnakarin > Link to topic: https://cfengine.com/forum/read.php?3,21286,21302#msg-21302 > > If you ask me, I'd consider it as a bug. Cfengine should populate test_var > t

Re: errors when defining classes based on built-in functions

2011-03-30 Thread Bas van der Vlies
On 29-03-11 15:17, M LZ wrote: > > Hi, > > I encounter the following problem, extracted from a more complex config: > > bundle agent test { > > classes: > > "test_class" expression => fileexists("/etc/passwd"); > > # "test_class" and => { fileexists("/etc/passwd") }; > > # "test_class" expressio

Cfengine Help: Re: errors when defining classes based on built-in functions

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: errors when defining classes based on built-in functions Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,21286,21302#msg-21302 If you ask me, I'd consider it as a bug. Cfengine should populate test_var the 2nd time it evaluate vars: s

Re: Cfengine Help: Re: errors when defining classes based on built-in functions

2011-03-29 Thread M LZ
, mlz. On Tue, Mar 29, 2011 at 4:52 PM, wrote: > Forum: Cfengine Help > Subject: Re: errors when defining classes based on built-in functions > Author: bbomgardner > Link to topic: https://cfengine.com/forum/read.php?3,21286,21287#msg-21287 > > This has to do with the static or

Cfengine Help: Re: errors when defining classes based on built-in functions

2011-03-29 Thread no-reply
Forum: Cfengine Help Subject: Re: errors when defining classes based on built-in functions Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21286,21287#msg-21287 This has to do with the static order of agent operations. http://www.cfengine.org/manuals/cf3-reference.html

Re: errors when defining classes based on built-in functions

2011-03-29 Thread Frans Lawaetz
> Is it something that I miss or things are not working the way the > documentation says? > Were I to hazard a guess I'd say it has to do with cfengine's normal ordering. See section 2.8.1 in the manual. Specifically, "In general it is wise to avoid class-variable dependency as much as poss