Here is the result:

R: The client list for server gatherer1 are provider1)
R: The client list for server gatherer1 are provider2)
R: The client list for server gatherer1 are provider3)
List parameter not found while constructing "do_gather" - use @(scope.variable) 
in calling reference
R: The client list for server $(info_gatherers) are 
@(master.info_provider[$(info_gatherers)]))

Basically it worked for the first gatherer and then it failed on the second and 
on iterations.


In verbose mode I have the following extracts:

cf3       BUNDLE do_gather( 
{'gatherer1','@(master.info_provider[$(info_gatherers)])'} )
cf3       * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
cf3
cf3     ? Augment scope do_gather with server
cf3     ? Augment scope do_gather with client_list

Then on the second iteration I get this

cf3       * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
cf3       BUNDLE do_gather( 
{'$(info_gatherers)','@(master.info_provider[$(info_gatherers)])'} )
cf3       * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
cf3
cf3     ? Augment scope do_gather with server
cf3     ? Augment scope do_gather with client_list
cf3 List parameter not found while constructing "do_gather" - use 
@(scope.variable) in calling reference


Marco,

Btw: Thanks for the quick response... and I am assuming that my understanding 
was right on?

-----Original Message-----
From: nwat...@symcor.com [mailto:nwat...@symcor.com] 
Sent: Wednesday, February 17, 2010 10:58 AM
To: Lebel, Marco
Cc: help-cfengine@cfengine.org; help-cfengine-boun...@cfengine.org
Subject: Re: referencing a slist within a slist array?

Do you get any warnings?  Try passing a fully qualified reference such as 
@(master.info_provider[$(info_gatherers)])

Sincerely,
--
Neil Watson
416-673-3465
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to