[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recursion Problem??
From: |
Adam M. Dunn |
Subject: |
Re: Recursion Problem?? |
Date: |
Wed, 8 Sep 2004 17:20:19 -0500 (CDT) |
Yes, thanks. That ignore worked. It would be nice though if cfengine had
an option to treat files and directory names differently, such as an omit
directory option. I would much rather be able to create random sub
directories and not have them copied without specifying them explicitly.
thanks,
~adam
On Wed, 8 Sep 2004, Ed Brown wrote:
> With a directory for a source/dest, and 'r=1', cfengine will create any
> subdirectories in that top-level directory, but does not recurse into
> them (they will be empty). If you don't want the subdirectory created,
> try 'ignore=modules' (or whatever the subdirectory is that you don't
> want created.)
>
> -Ed
>
>
>
> On Wed, 2004-09-08 at 13:56, Adam M. Dunn wrote:
> > Anyone,
> >
> >
> > I'm running into a problem with the recursion option in a copy command.
> > For example, using the default model of copying the updated configs from:
> >
> >
> > server:/var/cfengine/masterfiles --> client:/var/cfengine/inputs
> >
> >
> > just as an example, and setting a recursion to r=0, nothing copies.
> > However, if I keep it at r=1, or r=inf, then everything copies, but I
> > don't want that. Basically I just want to copy only single files from a
> > source directory to the client and ignore any subdirectories, but it's not
> > letting me.
> >
> >
> > Is this common behavior, or am I doing something wrong?
> >
> >
> >
> >
> > Thanks,
> > Adam
> >
> >
> >
> >
> >
> > _______________________________________________
> > Help-cfengine mailing list
> > Help-cfengine@gnu.org
> > http://lists.gnu.org/mailman/listinfo/help-cfengine
>
>
>