Hi, If there are any ways to define groups/classes with the return results of (shell) commands? Currently there is a function called ReturnZero can be used to define classes based on exit code, like explained in the online reference:
ReturnsZero(command) True if the named shell command returns with exit code zero (success). But what Id like to have is something like the following: strCmpReturn(identificationString, command) True if the named shell command returns with (exactly) the identificationString(or number). If there is already a function like the above? If not, anyone can suggest another way to workaround it? Thanks a lot. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine