Works fine on cfengine 3.0.3 svn755

Regards,
Nicolas

[email protected] wrote:
> [r...@unxxhd01 inputs]# cf-promises -f ./promises.cf 
> Validation: Int item on rhs of lval 'built-in FnCall ago-arg' given as {60 
> => 60} is out of bounds (should be in [0,31])
>
> Relavent parts:
> files:
>
>     "${g.workdir}/outputs"
>         delete => tidy,
>         file_select => days_old("60"),
>         depth_search => recurse("inf");
>
> # From stdlib
> body file_select days_old(days)
> {
> mtime       => irange(ago(1,0,0,0,0,0),ago(0,0,$(days),0,0,0)); 
> file_result => "mtime"; 
> }
>
> According to the reference guide days is days ago not day of month.  This 
> is Community 3.0.2.  Could someone try to repeat this using 3.0.3?
>
> Sincerely,
> --
> Neil Watson
> 416-673-3465
>   
> ------------------------------------------------------------------------
>
>
>
> CONFIDENTIALITY WARNING 
> This communication, including any attachments, is for the exclusive use of 
> addressee and may contain proprietary and/or confidential information. If you 
> are not the intended recipient, any use, copying, disclosure, dissemination 
> or distribution is strictly prohibited. If you are not the intended 
> recipient, please notify the sender immediately by return e-mail, delete this 
> communication and destroy all copies.
>
> AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ 
> Ce message, ainsi que les pièces qui y sont jointes, est destiné à l’usage 
> exclusif de la personne à laquelle il s’adresse et peut contenir de 
> l’information personnelle ou confidentielle. Si le lecteur de ce message n’en 
> est pas le destinataire, nous l’avisons par la présente que toute diffusion, 
> distribution, reproduction ou utilisation de son contenu est strictement 
> interdite. Veuillez avertir sur-le-champ l’expéditeur par retour de courrier 
> électronique et supprimez ce message ainsi que toutes les pièces jointes.
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Help-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/help-cfengine
>   

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

Reply via email to