hi,

this test reports a1 and a2, but not a3.
It shows all three indices when I'm replacing the "test" class in with  
a hard class (for example the hostname).

body agent control {
   addclasses => { "test" };
}

bundle agent common
{
   vars:
     any::
       "i" slist => getindices("musthave");
       "a[a1]" int => 1;
       "a[a2]" int => 1;

     test::
       "a[a3]" int => 1;


   reports:
     test::
       "$(i)";
}


   Robert

PS: I'm using 3.0.2b3 on Debian Lenny.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to