[email protected] 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 <[email protected]>
Center for Information Technology Services, University of Oslo
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to