Forum: CFEngine Help Subject: Re: Evaluation of bundlesequence with constructed mybundle(@(args)) Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,23499,23509#msg-23509
I suggest rewriting your promise as follows: body common control { bundlesequence => { @(g.bundles) }; } body common g { vars: "bundles_basic" slist => { "base_empty" }; site_x:: "ntpservers" slist => { "blah", "foo" }; "bundles" slist => { @(bundles_basic), system_ntpclient_configure(@(ntpservers)), }; !site_x:: "bundles" slist => { @(bundles_basic) }; } _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine