unexpected behavior

Robert Gerlach <[email protected]> Fri, 03 Jul 2009 03:39:00 +0200
Newsgroups gmane.comp.sysutils.cfengine.bugs
Message-ID <[email protected]>
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.