Forum: Cfengine Help Subject: Re: Accessing global arrays? Author: matter Link to topic: https://cfengine.com/forum/read.php?3,16664,16667#msg-16667
bundle agent test { vars: "at_fields" slist => getindices("$(g.asset_cache)"); ###### THIS DOES NOT WORK See the documentation about this, but what you need to do is something like this: bundle agent test { vars: "asset_cache" slist => { "@(g.asset_cache)" }; "at_fields" slist => getindices("$(asset_cache)"); _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine