CFEngine Help: Re: Debugging odd warning message

2011-09-05 Thread no-reply
Forum: CFEngine Help Subject: Re: Debugging odd warning message Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,23353,23362#msg-23362 Ok, I guess that makes some sense. The passwd_combined file on this host currently contains 974 entries - which is happily one of our larger hos

Re: CFEngine Help: Re: Problems with ifvarclass

2011-09-05 Thread Mike Brodbelt
On 05/09/11 17:51, no-re...@cfengine.com wrote: > Are you using a new version of Cfengine? I seem to recall having > some issues with the CF_NULL entry in slists not always getting > purged in older (as in, prior to 3.1.5) releases. I'm using 3.1.5. > So instead of > skipping an empty element i

CFEngine Help: Re: Debugging odd warning message

2011-09-05 Thread no-reply
Forum: CFEngine Help Subject: Re: Debugging odd warning message Author: eystein Link to topic: https://cfengine.com/forum/read.php?3,23353,23360#msg-23360 Hi sauer, The message seems to be related to a variable not being allocated in the hash table as it has filled up. Are you allocating a lot o

CFEngine Help: Re: Problems with ifvarclass

2011-09-05 Thread no-reply
Forum: CFEngine Help Subject: Re: Problems with ifvarclass Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,23354,23359#msg-23359 Are you using a new version of Cfengine? I seem to recall having some issues with the CF_NULL entry in slists not always getting purged in older (as

CFEngine Help: Re: userexists in combination with ldap (AD)

2011-09-05 Thread no-reply
Forum: CFEngine Help Subject: Re: userexists in combination with ldap (AD) Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,23355,23358#msg-23358 tuibelgium Wrote: --- > Does the function "userexists" checks users in AD > with L

CFEngine Help: Re: CFEngine Help: Re: Access single list element

2011-09-05 Thread no-reply
Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Access single list element Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,23356,23357#msg-23357 I agree with you Dan. I did not want to go this way but I was trying to work around a warn only promise that was always de

Re: CFEngine Help: Re: Access single list element

2011-09-05 Thread Daniel V. Klein
Neil is correct, of course, but if you start thinking in those terms, then you're still thinking like Cfengine is a programming language, and not a declarative language. Why do you need a particular element of a list? The idea behind lists is that you address all of the elements, either serial

CFEngine Help: userexists in combination with ldap (AD)

2011-09-05 Thread no-reply
Forum: CFEngine Help Subject: userexists in combination with ldap (AD) Author: tuibelgium Link to topic: https://cfengine.com/forum/read.php?3,23355,23355#msg-23355 Does the function "userexists" checks users in AD with LDAP? When adding a user to /etc/passwd using this function below, usernames t

Problems with ifvarclass

2011-09-05 Thread Mike Brodbelt
Hi, I'm using a set of promised to guarantee some magic words are poked into pseudo-files under /sys on linux. The following construct generates an error message (cosmetic only, but still annoying) when there are no disks found:- vars: "vdisklist" string => execresult("", "noshell");

CFEngine Help: Debugging odd warning message

2011-09-05 Thread no-reply
Forum: CFEngine Help Subject: Debugging odd warning message Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,23353,23353#msg-23353 Anyone happen to know what this message means? cf3 !! Out of variable allocation in context "harden_vars" cf3 !! Out of variable allocation in co