Hey Folks, One of our engineers wrote a promise a while back to create a class in promises.cf given the outcome of an expression...
classes: "CheckMysql" expression => returnszero("/bin/test -x /usr/local/libexec/tenant/check_tenant -a ! -x /usr/local/libexec/tenant/check_mysql","useshell"); The problem is, when this promise was written, there was only one OS being monitored by Cfengine. Now we have several OS's being monitored, and none of the paths in the promise will match for any but one OS. Errors abound in the logs saying can't find "/usr/local/libexec/tenant/check_tenant" and can't find "/bin/test". How do I define a class for only one OS? Thanks, Dave
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine