Forum: Cfengine Help
Subject: Re: execresult will look for binaries even though bundle is not
included
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,18117,18124#msg-18124
Following up the Diego's explanation (which is clear enough itself), I can just
suggest also looking into functions section of the reference manual, so that
file's existance can be checked instead, e.g.:
classes:
"host_has_command_xyz123" expression => fileexists("/opt/xyz123/bin/xyz123");
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine