Forum: CFEngine Help
Subject: Re: "any" usebundle
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,24472,24491#msg-24491

I tried this 


bundle agent test
{
  methods:
      "my famous string" usebundle => test("$(this.promiser)");
}

bundle agent test(params)
{
reports:
    cfengine::

      "calling: $(params)";
}


but it didn't work. I regard this as a bug. I found this bug and have committed 
a non-fully tested fix to trunk. I will get the development team to test it. 
Sorry for the inconvenience.

So, in short, I think your thinking is absolutely correct. Our code wasn't... :\

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

Reply via email to