bug-cfengine
[Top][All Lists]
Advanced

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

Copy problems


From: Bas van der Vlies
Subject: Copy problems
Date: Thu, 14 Jun 2001 11:33:30 +0200 (MET DST)

Hello,

 I'm having problems with the copy action when purge option is set to true.
 On the client machine i have directories or files that are not on the
 server machine. When i run cfengine all these files directories are
 removed. I have played with ignore/exclude options but did not succeed.
 When i create the file/directory on the server and then run cfengine.
 Cfengine leaves the file/directory untouched, eg: Does not purge or modify the
 file/directory.

 Is this the way to do it? When i read the manual the ignore/exclude should do
 the trick and not the creating of the files/directories on the server.

purge 
     If this option is set to true, cfengine will remove files in the
     destination directory which are not also in the source directory. This
     allows exact images of filesystems to be mantained. Note that if the copy
     command has includes or excludes or ignored files, cfengine will purge
     only those files on the client machine which are also on the server. This
     means that some files (such as system specific work files) can be excluded
     from copies without them being destroyed. Note that purging is disallowed
     if contant with a remote server fails. This means that local files will not
     be destroyed by a denial of service attack. You should not use this option
     to synchronize NFS mounted file systems. If the NFS server goes down,
     cfengine cannot then tell the difference between a valid empty directory
     and a missing NFS file system. If you use purge, use a remote copy also

                        Regards

PS)
  Tested with 1.6.2 and 1.6.3 on IRIX 6.5.6 and Debian 2.2r3

********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: address@hidden      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                     WWW:    www.sara.nl       *
*                                                                  *
********************************************************************



reply via email to

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