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 <n...@cmdln.org> _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine