Forum: CFEngine Help
Subject: Re: Syntax help - access slist stored in array
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,24555,24565#msg-24565

Based on my earlier testing wtih passing lists to parametrized methods, you may 
want to more fully qualify the variables.  Specifically, try sticking a "this" 
in front of the variable names in the list reference:

append_user_field("$(groupindex)","4","@(this.groups[$(this.groupindex)])";


_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to