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

CFEngine Help: Re: methods and variable expansion

2012-03-04 Thread no-reply
Forum: CFEngine Help Subject: Re: methods and variable expansion Author: terok Link to topic: https://cfengine.com/forum/read.php?3,25156,25163#msg-25163 Couldn't see what you had in the pastebin as it just gives unknown id. It seems that the variable passed through usebundle to the called bundle

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 {