On 06/25/2012 12:50 PM, Marco Marongiu wrote:
> Summing up, the right way to expand a slist contained in an array
> element is actually:
>
> "list" slist => { "@(array[$(selector)])" } ;
>
> However, if you plan to use list as a parameter for a bundle, you'd
> better prefix the list expansion with the bundle name, e.g.:
>
> "list" slist => { "@(testbundle.array[$(selector)])" } ;Glad you got it working. Are you iterating over $(selector)? When I was playing with it briefly that did not seem to work for me. I didn't spend much time looking at it though once I verified the list was pulling out. _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
