Hide Forgot
as described here: https://github.com/hercules-team/augeas/issues/110#issuecomment-41021392 Problem persist in 1.0.0-7.el6 but the fix is in augeas 1.2.0. A port of the fix is needed for allowing tools like puppet and others to manage tomcat properties files that has this behaviour. Thanks Luca
Fixed in 491df810
Problem persists in the latest 6.7.0 errata build: augeas-1.0.0-9.el6. Also check the fix 491df810, and it works well.
Verified with augeas-1.0.0-10.el6 Steps to verify: # augtool augtool> set /augeas/load/Properties/lens Properties.lns augtool> set /augeas/load/Properties/incl[last()+1] /tmp/test.properties augtool> load augtool> print /files/tmp/test.properties/ /files/tmp/test.properties /files/tmp/test.properties/tomcat.util.scan.DefaultJarScanner.jarsToSkip = " < multi > " Works as expected. So fixed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1256.html