Forum: Cfengine Help
Subject: Re: creating a list from a list and a var (or even 2 lists) by 
interpolation
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,21397,21400#msg-21400

To be fully understood, your definition of "namesrv" iterates over slist 
exactly the same way your repors section does, i.e. you define following 
assignments (considering linux):


 "namesrv" slist => { "10.21.20.11" };
 "namesrv" slist => { "10.21.20.1" };


that's why redefinition happens. Note that ${foo} and $(foo) are completely 
equivalent, and @(foo) doesn't allow you to perform partial substitutions.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to