It appears the hashtable for the scope "func" is contains no entries.
I see where the hash is initialize for the "func" scope, and I see
where __filename_ is done (although __filename_ should have been
resolved by this time), but the hash still it is empty. I give up, I
am starting to debug in circles.

On Fri, May 1, 2009 at 11:02 AM, Matt Richards <defraya...@gmail.com> wrote:
> I have been debugging this one for quite some time, and simplified the test 
> case
>
> body common control {
>  bundlesequence => { test };
> }
>
> bundle agent test {
>  methods:
>    "any" usebundle=>func("/etc/motd");
> }
>
> bundle agent func(filename) {
>  vars:
>    "ccfile" string => canonify("$(filename)");
>
>  reports:
> Yr2009::
>  "filename:$(filename)";
>  "ccfile:$(ccfile)";
>

_______________________________________________
Bug-cfengine mailing list
Bug-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to