help-cfengine
[Top][All Lists]
Advanced

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

Re: configure directories to iterate through list


From: Ed Brown
Subject: Re: configure directories to iterate through list
Date: Fri, 07 Oct 2005 12:12:03 -0600

On Fri, 2005-10-07 at 11:07, someD.E.L.E.T.E.M.Eword@gmail.com wrote:

> I'm trying to pass a list to directories 

See the documentation at:
<http://www.cfengine.org/docs/cfengine-Reference.html#Iteration-over-lists>

Basically, iteration over list variables isn't supported in the
directories action.  Also, you'd see some strange things using the
variable three times in an action.  The way iteration is implemented,
you'd see an action for every combination of values (3**4, or 4**3
possibilities?), not as you might think: 4 iterations where each use of
the list variable is replaced with the same value.   

-Ed





reply via email to

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