no-re...@cfengine.com writes:

> classes:
>   "redhat_5_4_plus" or =>  {"redhat_5_4", "redhat_5_5", "redhat_5_6", 
> "redhat_5_7", "redhat_5_8"};
>
>
> Not super elegant but it should cover all possible future Red Hat 5 updates.

If we're going for elegance I would use classmatch():

  classes:
    "redhat_5_4_plus" expression =>  classmatch("redhat_5_[4-9]");

Cheers,
-- 
Trond H. Amundsen <t.h.amund...@usit.uio.no>
Center for Information Technology Services, University of Oslo
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to