3.4.0 introduces meta: promise types. This example doesn't seem to
DTRT. Is this a bug or am I missing something? Maybe the metadata for
parameterized bundles has some other format?
Thanks
Ted
body common control
{
bundlesequence => { "example" };
}
bundle agent example
{
meta:
"bundle_version" string => "1.2.3";
methods:
"example2" usebundle => example2("a","b");
reports:
cfengine_3::
"Meta example version: $(example_meta.bundle_version)";
}
bundle agent example2(a,b)
{
meta:
"bundle_version" string => "1.2.3";
reports:
cfengine_3::
"Meta example2 version: $(example2_meta.bundle_version)";
}
=>
% cf-agent -KI -f /tmp/test.cf
R: Meta example2 version: $(example2_meta.bundle_version)
!! Method failed in some repairs or aborted
R: Meta example version: 1.2.3
% cf-agent --version|grep Core
@ @@@ @ CFEngine Core 3.4.0b1.26c0c5f
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine