Forum: CFEngine Help
Subject: Re: CFEngine Help: edit_template array variable expansion
Author: jremond
Link to topic: https://cfengine.com/forum/read.php?3,26062,26081#msg-26081
The bug is already open :
https://cfengine.com/bugtracker/view.php?id=1128
Forum: CFEngine Help
Subject: Re: CFEngine Help: edit_template array variable expansion
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,26062,26077#msg-26077
I'd say there is a bug in the code or the documentation. I get the same
results.
neil@ettin ~/.cfagent/i
Forum: CFEngine Help
Subject: Re: CFEngine Help: edit_template array variable expansion
Author: jremond
Link to topic: https://cfengine.com/forum/read.php?3,26062,26076#msg-26076
New test
/tmp/template.example contains :
[%CFEngine BEGIN %]
# BEGIN $(dhcp.hosts)
name[$(dhcp.hosts)]
dhcp.name
Forum: CFEngine Help
Subject: Re: CFEngine Help: edit_template array variable expansion
Author: jremond
Link to topic: https://cfengine.com/forum/read.php?3,26062,26075#msg-26075
New version of my code test.cf :
body common control
{
bundlesequence => { "dhcp", };
}
bundle agen
Forum: CFEngine Help
Subject: Re: CFEngine Help: edit_template array variable expansion
Author: Angelinas
Link to topic: https://cfengine.com/forum/read.php?3,26062,26066#msg-26066
it strips anything between square brackets in messages sent to the mailing list
Forum: CFEngine Help
Subject: Re: CFEngine Help: edit_template array variable expansion
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,26062,26065#msg-26065
This is a known bug in the "forum to mailing list" component, it strips
anything between square brackets i
Sorry, the webforum to mailing list software corrupted the message. I
see the same thing you do. Let me think about it.
--
Neil Watson
Linux/UNIX Consultant
http://watson-wilson.ca
___
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfen
Forum: CFEngine Help
Subject: Re: CFEngine Help: edit_template array variable expansion
Author: jremond
Link to topic: https://cfengine.com/forum/read.php?3,26062,26063#msg-26063
I do not know why name[ srv1 ] (without blank) becomes name in your message
>Forum: CFEngine Help
>Subject: edit_template array variable expansion
>Author: jremond
> any::
>"name" string => "srv1";
>"name"string => "srv2";
>
>"ip" string => "192.168.0.1";
>"mac"string => "52:54:00:00:00:00";
>
>"ip" string => "192.168.0.
Forum: CFEngine Help
Subject: edit_template array variable expansion
Author: jremond
Link to topic: https://cfengine.com/forum/read.php?3,26061,26061#msg-26061
Hi all
I am trying to use the new template feature and but I get some unwanted
substitution
bundle agent dhcp
{
vars:
any::
"n
10 matches
Mail list logo