Gregory,
Pay your attention to common bundles which are the only way to define
global variables, i.e.:
bundle common g
{
vars:
...
}
Meanwhile, there's no need to include common bundles into the bundlesequence.
--
Best,
Seva
2012/9/11 Gregory Matthews <[email protected]>:
> what is wrong here?
>
> body common control
> {
> bundlesequence => { "g", "test" };
> inputs => { "cfengine_stdlib.cf" };
> }
>
> bundle agent g
> {
> vars:
> "list" slist => { "1", "2", "3" };
> }
> bundle agent test
> {
> reports:
> "debug: $(g.list)";
> }
>
> results in:
> R: debug list: $(g.list)
>
> defining the list locally to the "test" bundle results in iteration as
> expected.
>
> CFEngine Core 3.2.1
>
> any help appreciated.
>
> GREG
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine