Hi all, I use augeas on ubuntu. I'm not sure about redhat, but debian
and ubuntu there's an /etc/environment file where one may stick
environmental variables. Frequently PATH is twiddled there.
It looks like shellvars is already setup for that kind of format, so it
just needs to include /etc/environment in the filter. I appended my
trivial diff, but I'm just cargo culting.
Thanks all
seph
*** shellvars.aug.orig Mon Apr 26 14:27:41 2010
--- shellvars.aug Mon Apr 26 14:27:29 2010
***************
*** 94,99 ****
--- 94,100 ----
let filter_default = incl "/etc/default/*"
let filter_misc = incl "/etc/arno-iptables-firewall/debconf.cfg"
. incl "/etc/cron-apt/config"
+ . incl "/etc/environment"
let filter = filter_sysconfig
. filter_ifcfg
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel