It seems that this works (2 ignore directives):

/usr/pkg server=master ignore=/usr/pkg/src ignore=/usr/pkg/ossrc /usr/pkg

        A more 'short-hand' format would be nice - I still think
I am missing something.

Brian
======================================================================
On Fri, Jul 14, 2006 at 05:06:18PM -0700, Brian C. Hill wrote:
>       I am trying to cop a directory tree to the clients from the master,
> with 2 exceptions: /usr/pkg/src and /usr/pkg/ossrc.
> 
>       This will skip /usr/pkg/ossrc...
>       
>       /usr/pkg server=master ignore=/usr/pkg/ossrc /usr/pkg
> 
>       ... and this will skip /usr/pkg/src ...
> 
>       /usr/pkg server=master ignore=/usr/pkg/src /usr/pkg
> 
>       ... but I cannot figure out how to specify both. None of these work:
> 
>       /usr/pkg server=master ignore=/usr/pkg/*src /usr/pkg
>       /usr/pkg server=master ignore=/usr/pkg/.*src /usr/pkg
>       /usr/pkg server=master ignore=/usr/pkg/src,/usr/pkg/ossrc /usr/pkg
> 
>       I would prefer _not_ to use the global ignore directive.
> 
>       What am I doing wrong?
> 
> Brian
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to