Forum: CFEngine Help Subject: Re: List of classmatched classes? Author: sauer Link to topic: https://cfengine.com/forum/read.php?3,24428,24477#msg-24477
Perhaps something like this? :)
"patternmatch"
slist => grep( "$(pattern}",
readstringlist("$(sys.workdir)/state/allclasses.txt", "",
"\s", "inf", "inf") ),
policy => "free";
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine
