help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating (touching) files in a directory tree


From: Chip Seraphine
Subject: Re: Creating (touching) files in a directory tree
Date: Mon, 29 Dec 2003 16:48:16 -0600
User-agent: KMail/1.5

Sort of.  Check out the 'home' wildcard and 'iterator' stuff in the Cfengine 
Reference.  Unfortunately, home works by pattern-patching directory paths 
(mountpattern/homepattern) instead of getpwent() calls and iterators aren't 
usable in editfiles.  That rather dramatically limits their usefulness to 
somewhat contrived situations, but you might be able to get something 
working.

On Monday 29 December 2003 16:15, Brian Landers wrote:
> Kurt Lieber <address@hidden> wrote in message
> news:<address@hidden>...
>
> > Your include statement is limiting your search criteria to directories
> > that already contain the .empty file.  It will never match a directory
> > that *doesn't* contain .empty
>
> Well, in retrospect, that's exceedingly OBVIOUS.  So how would I go
> about doing what I want.  I need to specify the name of the file to
> touch somehow.  Is this even possible with cfengine?
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cfengine





reply via email to

[Prev in Thread] Current Thread [Next in Thread]