CFEngine Help: Re: Class not being defined correctly

2011-08-17 Thread no-reply
Forum: CFEngine Help Subject: Re: Class not being defined correctly Author: raymondcox Link to topic: https://cfengine.com/forum/read.php?3,23121,23130#msg-23130 Thank you both for your suggestions. I have played around with both methods and believe that I have a fairly stable user management rou

CFEngine Help: Re: Class not being defined correctly

2011-08-16 Thread no-reply
Forum: CFEngine Help Subject: Re: Class not being defined correctly Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,23121,23124#msg-23124 The way Nakarin suggests would work. Alternatively, you can use your bundle as is, but you need to include the username in each class nam

CFEngine Help: Re: Class not being defined correctly

2011-08-16 Thread no-reply
Forum: CFEngine Help Subject: Re: Class not being defined correctly Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,23121,23122#msg-23122 Actually, the use of your regcmp/strcmp is correct, but the way CFE iterates array variables might create a loop in your check_user() bu