Hi,

Seems it is some cf specific that I missed. Can someone clarify please.
I have such bundles:

bundle agent install_custom_pack
{

files:
.....

classes:
    "custom_pack_installed" expression => fileexists("/usr/bin/customfile");

methods:
   custom_pack_installed::
        "install_custom_plugins" usebundle => custom_plugins;
}

bundle agent custom_plugins
{
....
classes:
        "plugin" expression => returnszero("/usr/bin/customfile args | grep 
pluginname","useshell");
}

Problem/question itself:
On each server, even if there is no /usr/bin/customfile, I get error in logs 
that:
Proposed executable file "/usr/bin/customfile" doesn't exist

Is it right that cfengine tries to execute it anyway even if I do not call this 
bundle ?
How to avoid this ?

Thanks in advance.

--
Denis

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to