#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

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to