[augeas-devel] [Augeas] #114: shellvars: ability to add comment to value
Augeas
trac at fedorahosted.org
Fri Mar 12 01:01:39 UTC 2010
#114: shellvars: ability to add comment to value
---------------------+------------------------------------------------------
Reporter: nxvl | Owner: lutter
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.7.0
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by lutter):
The best way to do that is to add end-of-line comments as separate
#comment nodes, so that what you want to do above can be done with
{{{
set /files/etc/default/rcS/TMPTIME 7
set /files/etc/default/rcS/TMPTIME/#comment 'MANAGED BY PUPPET'
}}}
I haven't looked in detail, but I think that can be achieved by modifying
'eol' to match an optional end-of-line comment.
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/114#comment:1>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list