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
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
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
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
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
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
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: