gnu.cfengine.help
[Top] [All Lists]

Excluding directory in update.conf

Subject: Excluding directory in update.conf
From: scarolan <scarolan@xxxxxxxxx>
Date: Mon, 19 May 2008 15:00:48 -0700 (PDT)
Newsgroups: gnu.cfengine.help

I am trying to exclude directory "CVS" from my update.conf config, but
the exclude rule doesn't seem to work.  How do I exclude /master/
cfengine/cfengine_cvs/CVS from being copied to all hosts?

Here's my update.conf:

control:
   actionsequence = ( copy tidy )
   workdir        = ( /var/cfengine )
   policyhost     = ( mypolicyhost.domain.com )
   master_cfinput = ( /master/cfengine/cfengine_cvs )
   cf_install_dir = ( /usr/sbin )

copy:
   $(master_cfinput)     dest=$(workdir)/inputs
                         r=inf
                         mode=600
                         owner=root
                         group=root
                         type=binary
                         exclude=*.lst
                         exclude=*~
                         exclude=#*
                         exclude=*CVS
                         server=$(policyhost)
                         trustkey=true
                         action=fix

tidy:
   $(workdir)/outputs pattern=* age=7

<Prev in Thread] Current Thread [Next in Thread>