Forum: Cfengine Help
Subject: usebundle and slist of sub-bundles
Author: joke
Link to topic: https://cfengine.com/forum/read.php?3,18881,18881#msg-18881

Hi,

I'm trying to figure out if there is a way to use the "usebundle" method with 
slists variables. The slist contains a list of sub-bundles which should be 
processed.

I thought about something like this which isn't valid syntax thought.

bundle agent some_bundle {
    vars:
        "bundle_list" slist => some_function_generating_slist(.......);

    methods:
        "any" usebundle => { @(bundle_list) };
}


Any hints how to do it?

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

Reply via email to