help-cfengine
[Top][All Lists]
Advanced

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

Re: Ignoring a subdirectory


From: Yves
Subject: Re: Ignoring a subdirectory
Date: Wed, 9 Jul 2003 19:45:49 +0100

Hello,
 
try this option...
 
  ignore=RCS
 
 
Gruß Yves
 
 
On Wed, 9 Jul 2003 07:59:47 -0400, Ferguson, Steve wrote:
>I've got a directory of configuration files and scripts that I keep
>under
>control of RCS, so my directory contains an RCS directory (which
>itself
>contains *,v files).  I want the contents of this directory copied
>to each
>of my clients, but I don't want the RCS directory.  I've added "*,v"
>to
>prevent the actual contents of RCS from getting copied, but the
>directory
>itself is still made.  I've tried 'recurse=0', which I figured out
>only
>creates the directory without copying any content, and 'recurse=1',
>which
>copies all contents _and_ creates the RCS subdirectory.
>
>Is there some way I can prevent the RCS subdirectory from getting
>created by
>the "copy" part of my config?  I've tried "Exclude *RCS*", but
>apparently
>those patterns are only applied to the basename, not directory
>components.
>
>To illustrate better (in case this isn't clear), I have this on my
>master:
>
>/var/cfengine/master/inputs
>/var/cfengine/master/inputs/RCS
>/var/cfengine/master/scripts
>/var/cfengine/master/scripts/RCS
>
>I want only the inputs and scripts directories (and their files)
>copied, but
>not the RCS directories.  I'm already able to exclude the content of
>the RCS
>directories with either recurse=1 or Exclude *,v.
>
>Thanks,
>Steve
>
>---------------------------------------------------------------------
>------
>Steve Ferguson
>gedas USA, Inc.
>address@hidden
>http://www.gedasusa.com
>---------------------------------------------------------------------
>------
>
>
>
>_______________________________________________
>Help-cfengine mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/help-cfengine
 
 
Gruß Yves
 
address@hidden am 09.07.2003

reply via email to

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