help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: editfiles missing the profound function?


From: Brendan Strejcek
Subject: Re: editfiles missing the profound function?
Date: Wed, 23 Feb 2005 11:28:58 -0600
User-agent: Mutt/1.5.6+20040907i

lists@onerussian.com wrote:

> > > but this kicks in on every run, doesn't it?
>
> > cfagent edits a buffer-copy of the file. When done editing, it only
> > replaces the file on disk if the two differ. Thus, if your edit
> > results in the same file, nothing is actually changed, including
> > file metadata such as timestamps.
>
> it doesn't work if there is an action associated with the editing
> being performed

I don't understand. What do you mean by "action associated with" ? If
you are using DefineClasses to trigger another action, it will work just
fine. The class will be defined if the file is changed. Or are you using
RunScript?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]