Forum: Cfengine Help Subject: Double-looping inserting cf_null Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,19440,19440#msg-19440
Hi, I'm experimenting with double-implicit-looping, and I'm seeing the following strange behavior. When running the following test: body common control { bundlesequence => { "test" }; host_licenses_paid => "1"; } bundle agent test { vars: "colors" slist => { "red", "green", "blue" }; "tone" slist => { "dark", "light" }; reports: cfengine_3:: "$(tone) $(colors)"; } I get the following output from Nova 2.0: $ cf-agent.exe -K -f ./looping2.cf R: dark red R: light red R: cf_null green R: dark green R: light green R: cf_null blue R: dark blue R: light blue "red" behaves OK, but for "green" and "blue" an extra "cf_null" seems to be inserted at the beginning of @tone. Any thoughts? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine