Forum: Cfengine Help
Subject: Re: Array as bundle parameter
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,19779,19784#msg-19784
Hi Daniel,
> I try to pass an array as bundle parameter without
> success
> edit_line => insert_array_lines("$(line)"),
> ...
> bund
Forum: Cfengine Help
Subject: Re: Array as bundle parameter
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,19779,19781#msg-19781
May I do something like this following?
bundle agent filetest
{
vars:
any::
"line[0]" string =>
"line1
line2 with $(const.dollar)(sys.host):