OK, I found the example, unit_locate_files_and_compress.cf
Thanks, Mark!
Aleksey
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
On Mon, May 16, 2011 at 2:16 PM, wrote:
> Forum: Cfengine Help
> Subject: Re: need a working example of how to use "transformer" without
> $(this.promiser)
> Author: toddnni
> Link to topic: https://cfengine.com/forum/read.php?3,21955,21984#msg-21984
>
>
>
Forum: Cfengine Help
Subject: Re: need a working example of how to use "transformer" without
$(this.promiser)
Author: toddnni
Link to topic: https://cfengine.com/forum/read.php?3,21955,21984#msg-21984
mark Wrote:
---
> It works,
Aleksey-
The promise is to run the transformer, nothing more. Most transformers use
$(this.promiser) as their input. For example, you could gzip the file if it
existed, knowing that gzip would remove the plain file once it compressed the
result (so effectively, you promise that if the file ex
Forum: Cfengine Help
Subject: Re: need a working example of how to use "transformer" without
$(this.promiser)
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,21955,21958#msg-21958
Gents, you misunderstand the intention of the transformer.
The contents of your &
Forum: Cfengine Help
Subject: Re: need a working example of how to use "transformer" without
$(this.promiser)
Author: toddnni
Link to topic: https://cfengine.com/forum/read.php?3,21955,21957#msg-21957
I think there are bugs. I was suprised that the transform is not very polished
yet.
Hi. I need a working example of how to use a "transformer" to specify
a command to create the promised file based on a different origin
file.
I looked at Reference Manual section "7.4.18 transformer" but could
not get a simpler example to work.
Here is what I tried:
bundle agent example {
fil