help-cfengine
[Top][All Lists]
Advanced

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

RE: type=mtime


From: Alexander Mattausch
Subject: RE: type=mtime
Date: Sat, 18 Oct 2003 09:39:01 +0200

Hello!
> 
> 
> When you specify type=mtime in copy: section, the file gets 
> copied only when the source version is newer. This works well 
> if you assume that nothing other than cfengine disturbs the 
> files on a client. However, I have run into a problem with 
> some types of files. For example, we distribute 
> /etc/mail/submit.cf using cfengine. Once in a while this file 
> also gets replaced by a newer version by Solaris patches. 
> After that happens, cfengine does not put back the old file 
> unless I also update the source file's time stamp on the 
> server. Is there a way to make cfengine copy files whenever 
> the mtime of the source and destination files is not the same 
> as opposed to what type=mtime does by default?

What you probably want is type=checksum.

Regards,
Alex





reply via email to

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