[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Ignoring a subdirectory
From: |
Ferguson, Steve |
Subject: |
RE: Ignoring a subdirectory |
Date: |
Thu, 10 Jul 2003 08:11:53 -0400 |
Thanks for the suggestions. As it turns out, adding this global
configuration section worked for me:
ignore:
any::
CVS
RCS
This works well, since I don't ever want to copy out my source repository.
Steve
-----Original Message-----
From: Ferguson, Steve [mailto:Steve.Ferguson@gedas.com]
Sent: Wednesday, July 09, 2003 8:00 AM
To: 'help-cfengine@gnu.org'
Subject: Ignoring a subdirectory
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.
Steve.Ferguson@gedas.com
http://www.gedasusa.com
---------------------------------------------------------------------------
_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://mail.gnu.org/mailman/listinfo/help-cfengine