Forum: Cfengine Help
Subject: Re: How to create classes of operating system sorted by version
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,21163,21213#msg-21213
neilhwatson Wrote:
-------------------------------------------------------
> > 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.
RHEL6 is out, so I'd expect them to stop the 5 series at 5.6. :) Either way,
though, we need to provide at least two ways to skin every cat, right?
Something like:
redhat_5_4_plus expression => classmatch("redhat_5_[4-9]");
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine