On 02/21/2012 02:50 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: getindices with an array of lists > Author: Authority > Link to topic: https://cfengine.com/forum/read.php?3,24975,24984#msg-24984 > > I believe you just passed the name of the array, not the array itself.
Yes that is what we are doing, I guess I dont know any way to pass the array itself. Continuing with Neils posted example if I do a methods promise as follows. "any" usebundle => test ( "$(main.shorewall)" ); inside the test bundle I can do a reports promise "$(shorewall2)[zones]"; results in R: $(main.shorewall)[zones] So it seems I may be missing some fundamental knowledge of how to pass an array and not just expand out to the global name of it. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine