help-cfengine
[Top][All Lists]
Advanced

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

Re: Excluding .svn directories not working


From: Mark Burgess
Subject: Re: Excluding .svn directories not working
Date: Thu, 09 Jun 2005 07:23:23 +0200

In the manual it says that "ignore" will exclude directories, but
"exclude" looks only at plain files.

M

On Wed, 2005-06-08 at 17:44 -0400, Eric Dorland wrote:
> Hi,
> 
> Ok, I have a feeling I'm doing something brain dead, but I recently
> switched to storing my master files in subversion, and now I can't seem
> to include .svn directories when doing directory copies. 
> 
> I have a copy directive that looks like this: 
> 
> copy:
>         nagios_master::
>         ${etc_root}/${host}/nagios      dest=$(nagios_etc)
>                                         server=${server}
>                                         recurse=inf
>                                         exclude=.svn
>                                         backup=false
>                                         verify=true
>                                         owner=nagios
>                                         group=nagios
>                                         define=nagios_reload
> 
> But the .svn directory still gets copied. I even have an ExcludeCopy
> that looks like:
> 
> ExcludeCopy = ( *~ *% core .* CVS .cvsignore .svn .svn/* )
> 
> And still .svn directories are copied everywhere. Please, someone point
> out my folly.
> 
> 





reply via email to

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