Forum: CFEngine Help
Subject: Re: executable file doesn't exist. bundles processing.
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,25667,25674#msg-25674
I would rather check for the binary first then run returnzero() to avoid the
problem. For example;
classes:
any::
"have_customfile" expression => fileexists("/usr/bin/customfile");
have_customfile::
"plugin" expression => returnszero("/usr/bin/customfile args | grep
pluginname","useshell");
Cheers,
-- Nakarin
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine