When i specify a time class like:
 * Min20_25

Till which minute is this class valid. Is minute Min25 also valid?

I have written a simple test and it show that Min25 is invalid (test with 3.3.2 
and 3.4.0b2.ef90fb5)
body common control
{

bundlesequence => { test };
}


bundle agent test
{
    reports:
            Min20_25::
                        "Must be true for 20 up till 25";
}


output:
16:23 batch1.irc.sara.nl:/var/tmp/bas
root# for i in `seq 1 1000`; do date; cf-agent -f ./test.cf -IK; sleep 30; done
Fri Oct 12 16:23:50 CEST 2012
R: Must be true for 20 up till 25
Fri Oct 12 16:24:20 CEST 2012
R: Must be true for 20 up till 25
Fri Oct 12 16:24:50 CEST 2012
R: Must be true for 20 up till 25
Fri Oct 12 16:25:20 CEST 2012    <---- Would expect a message
Fri Oct 12 16:25:50 CEST 2012    <---- Would expect a messafe
Fri Oct 12 16:26:20 CEST 2012


-- 
********************************************************************
*  Bas van der Vlies                    e-mail: b...@sara.nl       *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *
********************************************************************

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to