1body file control
2{
3    services_autorun::
4      inputs => { @(services_autorun.found_inputs) };
5}
6
7bundle agent autorun
8{
9  vars:
10    services_autorun|services_autorun_bundles::
11      "bundles" slist => bundlesmatching(".*", "autorun");
12
13      "sorted_bundles"
14        slist => sort("bundles", "lex"),
15        comment => "Lexicographically sorted bundles for predictable order";
16
17  methods:
18    services_autorun|services_autorun_bundles::
19      "autorun" -> { "CFE-3795" }
20        usebundle => $(sorted_bundles),
21        action => immediate;
22
23  reports:
24    DEBUG|DEBUG_autorun|DEBUG_services_autorun::
25      "DEBUG $(this.bundle): found bundle $(sorted_bundles) with tag 'autorun'";
26}
27