Thanks man !
That worked. Exactly what i need.
24.04.2012, 21:19, "no-re...@cfengine.com" :
> 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,25676#ms
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,25676#msg-25676
This warning is from syntax checker (cf-promises), not executor (cf-agent).
Even though, you specify a right cla
24.04.2012 20:43, no-re...@cfengine.com wrote:
> I would rather check for the binary first then run returnzero() to avoid the
> problem. For example;
But isn't it same as I'm doing ?
The one difference is that you propose to do it in one bundle and I'm
using two.
In case I mailed before I do:
me
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:
thanks. That what i guessed.
But it there way to avoid this ?
24.04.2012, 16:00, "Neil Watson" :
> During the run, and the three sub-runs, Cfengine will attempt to
> evaluate variables and classes. So the commands that may be associated
> with vars and classes promises will be run, if possible, e
During the run, and the three sub-runs, Cfengine will attempt to
evaluate variables and classes. So the commands that may be associated
with vars and classes promises will be run, if possible, each time.
--
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca
___
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_plu