insert_lines promises: some comments on insert_select bodies

4 views
Skip to first unread message

mike.w...@verticalsysadmin.com

unread,
Jul 19, 2016, 9:19:43 PM7/19/16
to help-cfengine
Looking through https://docs.cfengine.com/lts/reference-promise-types-edit_line-insert_lines.html#insert_select I see that all the examples show a body with only one attribute out of six different possibilities.

I am wondering—and maybe I will research this myself at some point with experimentation, if no one else can shed more light on it—what is the behavior if more than one of these attributes is used in an "insert_select" body?

It doesn't seem to be documented.  I don't know that there would be any use case for that—but it's hard to tell, since the documentation doesn't explicitly say these are mutually exclusive attributes.

Anyone else wonder about this or is it perfectly plain except to me?

--Mike Weilgart
Reply all
Reply to author
Forward
0 new messages