help-cfengine
[Top][All Lists]
Advanced

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

Re: Iterators in directories


From: Mark . Burgess
Subject: Re: Iterators in directories
Date: Mon, 12 Apr 2004 09:24:38 +0200 (MEST)

THe iteration is inconsistent today, pending a major revision.
Can you use a wildcard for your directory? e.g. /somewhere/*/app ?

M

On 12 Apr, Russell Adams wrote:
> I'm trying to do something like this:
> 
> control:
> 
>       MyList = ( dir1:dir2:dir3:dir4:dir5 )
> 
> directories:
> 
>       /somewhere/$(MyList)/app        m=700 o=root g=root
>       /somewhere/$(MyList)/log        m=700 o=root g=root
> 
> 
> The iterator doesn't work here.
> 
> I can fall back to using shellcommands, but thats a hack! ;]
> 
> Any suggestions?
> 
> 
> -----------------------------
> Russell Adams
> RLAdams@AdamsInfoServ.com
> http://www.adamsinfoserv.com/
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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