Re: file_select mtime catching some files it shouldn't

2012-03-04 Thread Jonathan CLARKE
Hi Dan, On 04/03/2012 15:24, Daniel V. Klein wrote: > Jonathan- > > Looking naively at FnCallNow() in evalfunction.c, I believe you are correct > in your suspicion that cf-agent uses the start time as "now". Now, I say > "naively" because I am not that familiar with the Cfengine core code, and

Re: file_select mtime catching some files it shouldn't

2012-03-04 Thread Daniel V. Klein
Jonathan- Looking naively at FnCallNow() in evalfunction.c, I believe you are correct in your suspicion that cf-agent uses the start time as "now". Now, I say "naively" because I am not that familiar with the Cfengine core code, and I have a not-quite up-to-date version. For a long-running ag

file_select mtime catching some files it shouldn't

2012-03-04 Thread Jonathan CLARKE
Hi everyone, I'm running into a funny issue, using a files promise to clean up files older than 30 days, that seems to catch very recent files (less than a few minutes old), or possibly files that are undergoing modifications as CFEngine runs. Here are my promises: bundle clean_www_archives {