[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ignoring RCS directories.
From: |
Andrew Mayhew |
Subject: |
Re: Ignoring RCS directories. |
Date: |
Thu, 5 Apr 2001 16:57:16 -0700 |
User-agent: |
Mutt/1.2.5i |
Well, before Mark says it, could you upgrade to 1.6.3 :-)
I have the following under cfengine 1.5.3 and it works:
/master/cfengine dest=/apps/etc
mode=0444
recurse=inf
server=$(cfd_master)
exclude=*.bak
exclude=.#*
exclude=*.cfsaved
ignore=CVS
backup=false
type=binary
force=true
purge=false
Which can be seen from this -v output from cfengine snippet:
cfengine:sfo-test02: Skipping excluded pattern .#cf.control.1.27
cfengine:sfo-test02: Skipping excluded pattern .#cf.control.1.28
cfengine:sfo-test02: Skipping excluded pattern .#cf.control.1.29
And while there is a CVS directory in /master/cfengine on the master
system, the cfengine client system never makes comment about the
ignored directory. Taking a total swag at your problem I would see
what happens if you remove the quotes (") from around your ignored
pattern.
--Andrew Mayhew <amayhew@logictier.com>
On Thu, Apr 05, 2001 at 03:45:23PM -0700, Bob Van Cleef wrote:
>
> I am trying to get CFENGINE to ignore/exclue files that are in RCS
> directoris. My current configuration test is:
>
> copy:
>
> # since thea is the master - don't run there
> !thea::
> /usr/local/etc/cfengine/
> dest=/usr/local/etc/cfengine/
> ignore="RCS"
> purge=true
> recurse=3
> server=SERVERHOST
> type=checksum
>
>
> However, the files are still copied.
>
> LOCALHOST: Updating image
> /usr/local/etc/cfengine/master/RCS/cfengine.conf,v from master
> /usr/local/etc/cfengine/master/RCS/cfengine.conf,v on SERVERHOST
>
> I've tried using "exclude" and wildcards ( "RCS/*" ), but the result is
> the same. Cluefullness would be welcomed.
>
> cfengine-1.5.1
>
> Bob
> --
> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><>
> Bob Van Cleef, Member of Technical Staff (408) 734-8100
> MicroUnity Systems Engineering, Inc. FAX (408) 734-8136
> 376 Martin Ave., Santa Clara, CA 95050 vancleef@microunity.com
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine