I'm trying to manage Gentoo's /etc/conf.d/net config files with Augeas using
the Shellvars lens.  I created this simple lens to add support:

gentoonet.aug:
module GentooNet=
  autoload xfm

let xfm = transform Shellvars.lns (incl "/etc/conf.d/net*")


I'm getting this error on a simple net config file:
augtool> ls /augeas/files/etc/conf.d/net/error
pos = 0
line = 1
char = 0
lens = /usr/share/augeas/lenses/dist/shellvars.aug:45.12-.53
message = Iterated lens matched less than it should


/etc/conf.d/net contains:
config_eth0=( "null" )
config_eth1=( "10.128.0.48/24" )
routes_eth1=( "default via 10.128.0.254" )


Any ideas on what I can do to modify Shellvars to support this?

-Doug

(please CC me on replies)



Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to