Is there any way to test variable types?
For example
bundle edit_line append_if_no_lines(list)
{
insert_lines:
"$(list)"
comment => "Append lines to the file if they don't already exist";
}
If by accident list iteration is done at the file promiser level this
wont catch it, it will just happily work performing slist length
individual edits on the file.
--
Nick Anderson <[email protected]>
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine