help-cfengine
[Top][All Lists]
Advanced

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

Re: excludes in copies


From: Phil D'Amore
Subject: Re: excludes in copies
Date: Tue, 03 Feb 2004 15:28:49 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314

We maintain all of our cfengine-distributed files in CVS, and I do this:

ignore:
   # CVS administrative stuff
   CVS

Should be able to slap that in cfagent.conf, or any other file that is unconditionally read for all hosts, and that would clear up your problem permanently (substituting for the proper directory name of course).

Anne Cross wrote:

I've got some directories that I'd like to copy out recursively, but as
we're using RCS to control a lot of these configs, I'd like to exclude
the RCS directory and it's contents from the copy.
I've got the following line at the moment:

calendar.production::
   $(sourcedir)servers/calendar/calendar-prod/
dest=/usr/local server=$(CFMaster) r=inf exclude=RCS/ exclude=*,v
and the "exclude=RCS/" doesn't appear to work.  The RCS files themselves
aren't copying because of the "exclude=*,v" but I'd like to not send the
directories out either.

Consulting the documentation hasn't given me any hints as to what I might be doing wrong.
Suggestions?

        -- Anne

Anne Cross
Systems Administrator, Tufts University
"Change has become a constant; managing it has become an expanding
discipline." -- Queen Elizabeth II of England


_______________________________________________
Help-cfengine mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-cfengine

--
Phil D'Amore                             "Sometimes there is a fine line
Senior System Administrator               between criminally abusive
Red Hat, Inc                              behavior and fun."
Office: 919.754.3700 x44395                 -- Ted the Generic Guy
Pager: 877.383.8795                            (Dilbert 4/19/2003)






reply via email to

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