[augeas-devel] Malformed child node when putting w/ ShellVars_list
Doug Warner
doug at warner.fm
Tue May 31 18:38:16 UTC 2011
I'm using Augeas 0.7.4 and wrote a little stub lens to use ShellVars_list on
/etc/conf.d/modules in Gentoo.
I'm trying to put a value to the modules_2_6 variable; this is the output of a
test session (there is currently no modules_2_6 set):
# augtool
augtool> set /files/etc/conf.d/modules/modules_2_6[last()+1] junk0
augtool> save
Saving failed
augtool> ls /augeas/files/etc/conf.d/modules/error/
path = /files/etc/conf.d/modules
lens = /usr/share/augeas/lenses/dist/shellvars_list.aug:40.12-.37:
message = Malformed child node 'modules_2_6'
Below is my stub lens.
-Doug
gentooconf_list.aug:
module GentooConf_list=
autoload xfm
let xfm = transform Shellvars_list.lns (
incl "/etc/conf.d/modules"
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20110531/945d6b5d/attachment.sig>
More information about the augeas-devel
mailing list