Re: CFEngine Help: Re: Problems looping over slist with global reference

2012-02-14 Thread Nick Anderson
On 02/13/2012 11:49 PM, Mark Burgess wrote: Just drop the qualifier $(context.variable) -> $(variable) I had a report like that "test: l1 $(config[key])"; I got this output R: test: l1 $(config[key]) Sorry I must be quite dense for not seeing what I am doing wrong. -- Nick Anderson

Re: CFEngine Help: Re: Problems looping over slist with global reference

2012-02-13 Thread Mark Burgess
On 02/14/2012 04:50 AM, Nick Anderson wrote: > On 02/13/2012 01:09 PM, no-re...@cfengine.com wrote: >> Forum: CFEngine Help >> Subject: Re: Problems looping over slist with global reference >> Author: mark >> Link to topic: https://cfengine.com/forum/read.php?3,2480

Re: CFEngine Help: Re: Problems looping over slist with global reference

2012-02-13 Thread Nick Anderson
On 02/13/2012 01:09 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: Problems looping over slist with global reference > Author: mark > Link to topic: https://cfengine.com/forum/read.php?3,24805,24812#msg-24812 > > I'm afraid this is the documented b

Re: CFEngine Help: Re: Problems looping over slist with global reference

2012-02-13 Thread Nick Anderson
On 02/13/2012 01:09 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: Problems looping over slist with global reference > Author: mark > Link to topic: https://cfengine.com/forum/read.php?3,24805,24812#msg-24812 > > I'm afraid this is the documented b

CFEngine Help: Re: Problems looping over slist with global reference

2012-02-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Problems looping over slist with global reference Author: mark Link to topic: https://cfengine.com/forum/read.php?3,24805,24812#msg-24812 I'm afraid this is the documented behaviour. Consider it a known bug for the time being. http://cfengine.com/manual

CFEngine Help: Re: Problems looping over slist with global reference

2012-02-13 Thread no-reply
Forum: CFEngine Help Subject: Re: Problems looping over slist with global reference Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24805,24810#msg-24810 I have seen the behavior also. I do not know if it is by accident or by design

Problems looping over slist with global reference

2012-02-13 Thread Nick Anderson
I just noticed this, and I am not sure what i am doing wrong. I cant seem to loop over a globally referenced slist, I am however able to pass the list to a bundle and then iterate over the local variable reference. What am I not understanding? R: In bundle agent report_list R: List 1: list1v1 R: