How can I use augeas on a /opt/app/etc/app.conf file?
How can I get augeas /files to include files outside of /etc. Like /opt/app/etc/app.conf
thank you, Dave Wright
Each lens defines a list of files that should be automatically be processed when the lens is loaded, but you have complete control over this behavior.
If you wish to edit a specific file using the augtool directly, you can do so by changing the loadpath for your lens inside the
/augeas data structure. For more info, see this link: https://github.com/hercules-team/augeas/wiki/Loading-specific-files
Best practices with Augeas is to use incl and lens in all contexts; this significantly reduces the time spent managing your Augeas resources as it avoids having to load all the lenses and paths prior to making your changes.
Asked: 2015-01-05 18:34:09 -0500
Seen: 582 times
Last updated: Jan 06 '15