On Fri, 2008-04-18 at 17:34 -0700, Jamie Cameron wrote: > Actually, since you have a command-line interface already, I could just > make use of that - it would avoid the whole problem of language bindings > altogether, and the need for a separately-installed binary Perl module.
That would work, too; you'll have to make sure to batch related changes together by piping them into stdin of augtool - augtool will refuse to write out files that are syntactically incorrect (e.g. an entry in /etc/hosts with only an ipaddr and no canonical name) Of course, Perl bindings would be much better if somebody wants to write them ;) > I had another question - which configuration file formats does > Augeas support at the moment? I saw mention of /etc/hosts and grub's menu.lst > on your site, but is there a full list somewhere? Right now, it's only a handful of files: /etc/aliases, /etc/grub.conf, /etc/hosts, /etc/inittab, /etc/pam.d/*, /etc/ssh/sshd_config, and the yum config files. The descriptions for them can be found in the source tarball and at [1]. I am working on adding more; this is the area where more help would make a huge difference - writing more schemas to increase Augeas' coverage of common config files. Patches to the mailing list[2] would be hugely appreciated. David [1] http://hg.et.redhat.com/misc/augeas?cmd=manifest;manifest=c5b1ff43f1b4906d906d1d2d0cc245f451d37bbc;path=/lenses/ [2] https://www.redhat.com/mailman/listinfo/augeas-devel _______________________________________________ Discuss mailing list Discuss@lists.openmanagement.org http://lists.openmanagement.org/mailman/listinfo/discuss