On 04/17/2012 09:39 PM, Aleksey Tsalolikhin wrote: > It might be useful to put that comment into the line itself so you can also > see it from the command line when logged into the server. > > I do something similar with my iptables config file, insert the comments > as iptables comments (using the comment module) so that the comments > show up in the "iptables --list" output. > > e.g. {{{ insert_lines: > > "line 1 # comment > > line 2 # comment2" > > insert_type => "preserve_block"; > }}} > > This way you'd have the line ordering AND the comments, but not as > CFEngine comments, unfortunately.
Oh, it would be cool to have access to $(this.comment) so that a cfengine comment could be used inside the promise itself. Is there a feature request for that yet? Aleksey, i would love to see how you do your iptables config -- Nick Anderson <n...@cmdln.org> _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine