Forum: CFEngine Help
Subject: Re: Select files
Author: skycoyotte
Link to topic: https://cfengine.com/forum/read.php?3,24901,24960#msg-24960
Solved !
file_result string was incorrect.
For the search_size filter, we have to use "size", on the filter_result string.
It's a huge syntax problem, but t
On 20/02/2012 14:04, no-re...@cfengine.com wrote:
> Forum: CFEngine Help
> Subject: Re: Select files
> Author: skycoyotte
> Link to topic: https://cfengine.com/forum/read.php?3,24901,24951#msg-24951
>
> Hi,
>
> I tried the debug mode.
> There are many lines !
> At this point, i have no idea about m
Forum: CFEngine Help
Subject: Re: Select files
Author: skycoyotte
Link to topic: https://cfengine.com/forum/read.php?3,24901,24951#msg-24951
Hi,
I tried the debug mode.
There are many lines !
At this point, i have no idea about my trouble.
I tried to use different unit like '50m' or '5' for
Forum: CFEngine Help
Subject: Re: Select files
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24901,24934#msg-24934
You could try debug instead of verbose.
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfeng
> Is there any way to get more information than the cf-agent -v output ?
Take a look at the -d switch.
Best,
-at
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine
Forum: CFEngine Help
Subject: Re: Select files
Author: skycoyotte
Link to topic: https://cfengine.com/forum/read.php?3,24901,24932#msg-24932
Hi
I tried whith '5', and '50' for the first range value...
nothing to do.
Is there any way to get more information than the cf-agent -v output ?
I use th
Forum: CFEngine Help
Subject: Re: Select files
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24901,24923#msg-24923
The conversion errors would be related to typical SI jumps (e.g kb to mb). Add
or remove three zeros at least, or change the file size.
_
Forum: CFEngine Help
Subject: Re: Select files
Author: skycoyotte
Link to topic: https://cfengine.com/forum/read.php?3,24901,24921#msg-24921
I removed / added a zero. Nothing
I tried to use this file_result string
file_result => "!file_types.leaf_name.search_size";
...and now, no files se
Forum: CFEngine Help
Subject: Re: Select files
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24901,24915#msg-24915
You are right, I mistakenly looked at the 'a' argument. I think it should work.
I have seen bugs in CF where unit conversion is in error. Try adding or
Forum: CFEngine Help
Subject: Re: Select files
Author: skycoyotte
Link to topic: https://cfengine.com/forum/read.php?3,24901,24910#msg-24910
Thanks for your reply;
In my example :
file_select => data_log_size(".*","50","inf"),
body file_select data_log_size(a,b,c)
{
leaf_name => {
Forum: CFEngine Help
Subject: Re: Select files
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,24901,24904#msg-24904
irange should be an integer not a regex.
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfen
11 matches
Mail list logo