Brian C. Hill wrote: > 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
You could try just ignore=*src, without the leading path... -- Mark Burgess Professor of Network and System Administration Oslo University College ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Work: +47 22453272 Email: [EMAIL PROTECTED] Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org http://cfengine.org/mailman/listinfo/help-cfengine