Forum: CFEngine Help
Subject: Re: Don't know how to do for having only links that i want
Author: toddnni
Link to topic: https://cfengine.com/forum/read.php?3,24769,24782#msg-24782
I think that one way is to use a dummy array
bundle common dummy {
vars:
any::
"mods" slist => { "@(goldorak_conf.apache_mods)" };
"d[$(mods)]" string => "$(mods).list";
}
bundle common final {
vars:
any::
"mods_with_list" slist => getvalues("dummy.mods");
}
In theory this workaround should work. I split it in two arrays, because I have
had some problems (bug perhaps) when I put all in one bundle.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine