Re: CFEngine Help: Re: executable file doesn't exist. bundles processing.

2012-04-26 Thread Denis Zinevich
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

CFEngine Help: Re: executable file doesn't exist. bundles processing.

2012-04-24 Thread no-reply
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

Re: CFEngine Help: Re: executable file doesn't exist. bundles processing.

2012-04-24 Thread Denis Zinevich
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

CFEngine Help: Re: executable file doesn't exist. bundles processing.

2012-04-24 Thread no-reply
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:

Re: executable file doesn't exist. bundles processing.

2012-04-24 Thread Denis Zinevich
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

Re: executable file doesn't exist. bundles processing.

2012-04-24 Thread 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, each time. -- Neil Watson Linux/UNIX Consultant http://watson-wilson.ca ___

executable file doesn't exist. bundles processing.

2012-04-24 Thread Denis Zinevich
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