help-cfengine
[Top][All Lists]
Advanced

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

RE: [Cfengine] RCSs and CFEngine


From: Nielsen, Steve
Subject: RE: [Cfengine] RCSs and CFEngine
Date: Wed, 18 Jan 2006 23:52:42 -0500

Neither.  It stands on its own:

ignore:
  any::
    .svn

This will cause any cfengine statement that deals with files to ignore .svn 
directories (and their contents).

Steve




-----Original Message-----
From: Atom Powers [mailto:address@hidden
Sent: Wed 1/18/2006 8:27 PM
To: Nielsen, Steve
Cc: Bas van der Vlies; address@hidden
Subject: Re: [Cfengine] RCSs and CFEngine
 
Do you put that in "control" or "copy"?
In copy it will ignore all ".svn" directories; but only for that
particular copy statement?

I use "svn checkout"; so that it will work even on hosts that do not
yet have a copy of the svn repository. In cases where there is a copy,
it seems to act like an "svn update". I checkout a copy of the
repository into /var/cfengine/masterfiles and then use copy statements
to move the files into the live system.

On 1/18/06, Nielsen, Steve <address@hidden> wrote:
> The "ignore" is global and works for me (excludes ALL .svn's on every
> copy)
>
> Steve
>
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf
> Of Atom Powers
> Sent: Wednesday, January 18, 2006 11:23 AM
> To: Bas van der Vlies
> Cc: address@hidden
> Subject: Re: [Cfengine] RCSs and CFEngine
>
> On 1/18/06, Bas van der Vlies <address@hidden> wrote:
> > Jason Edgecombe wrote:
> > > I use svn as well.
> > >
> > > Atom, do you use svn update or export to push the cf config?
> > >
> > > right now, I'm using "svn update" which leaves the .svn folders to
> get
> > > copied out. How are you handling that?
> > >
> > in the copy statement (update.conf):
> >   ignore=.svn
> >
> > > Jason
> > >
>
> That's what I use, in *every* copy statement.
>
> I would rather use ExcludeCopy, but I havent't been able to get it to
> work.
> ----
> control:
> ExcludeCopy             = ( *~ *% tmp .svn .svn/* *.temp )
> ----
>
> --
> --
> Perfection is just a word I use occasionally with mustard.
> --Atom Powers--
>
>
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-cfengine
>


--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--





reply via email to

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