[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Copy/Purge include problem...
From: |
Adam M. Dunn |
Subject: |
Re: Copy/Purge include problem... |
Date: |
Mon, 4 Apr 2005 09:39:53 -0500 (CDT) |
Yep. I've tried both. I've also tried using just strait files (not
directories) with the include, and it still deletes those too.
~a
On Sat, 2 Apr 2005, Mark Burgess wrote:
> Without being in a position to check this right now, have you tried
> "ignore" for your directories? Inlcude normally skips directories
> while ignore does not.
>
> M
>
> On Fri, 2005-04-01 at 12:14 -0600, Adam M. Dunn wrote:
> > Help.
> >
> > According to the cfengine documentation, if you have purge enabled, then
> > any include= will not get purged. I'm trying to use this feature but I
> > can't seem to make it work. I want to copy whole directory trees, purge
> > the destination, but also leave a /local directory on the destination so I
> > can have local files in it that won't be purged. Here is what I have in
> > my copy.
> >
> > copy:
> >
> > GSCBinaries.CVS::
> > /var/cfengine/distrib/${binplatform}/gsc
> > dest=/usr/gsc
> > r=inf
> > owner=root
> > group=other
> > type=binary
> > include=local
> > exclude=*.cfsaved
> > exclude=*~
> > exclude=#*
> > define=runconfig
> > server=$(buildserver)
> > trustkey=true
> > ifelapsed=0
> > purge=true
> >
> >
> > Any ideas? I've been racking my brain trying to figure this out, and it
> > seems so simple it shouldn't be an issue (or am I just that stupid?).
> >
> >
> > Thanks.
> >
> > Adam
> >
> >
> >
> >
> > _______________________________________________
> > Help-cfengine mailing list
> > Help-cfengine@gnu.org
> > http://lists.gnu.org/mailman/listinfo/help-cfengine
>
>
>
- Copy/Purge include problem..., Adam M. Dunn, 2005/04/01
- Re: Copy/Purge include problem..., Mark Burgess, 2005/04/02
- Re: Copy/Purge include problem...,
Adam M. Dunn <=
- Re: Copy/Purge include problem..., Adam M. Dunn, 2005/04/06
- Re: Copy/Purge include problem..., Mark Burgess, 2005/04/06
- Re: Copy/Purge include problem..., rader, 2005/04/06
- Re: Copy/Purge include problem..., Alexander Jolk, 2005/04/06
- Re: Copy/Purge include problem..., rader, 2005/04/06
- Re: Copy/Purge include problem..., Adam M. Dunn, 2005/04/06
- Re: Copy/Purge include problem..., rader, 2005/04/06