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
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-cfengine
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine