[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [augeas-devel] using python-augeas to parse a Httpd-style conf file

Hrmm.. we've been talking about next release for a while.. we should just do that.  As for another way, i'm not sure.  I just support the RPM, i actually barely use python-augeas :)  i prefer python but am stuck in ruby world more thanks to puppet.

On Wed, Nov 20, 2013 at 6:47 PM, Andy Grover <agrover redhat com> wrote:
On 11/20/2013 08:18 AM, Greg Swift wrote:
On Mon, Nov 18, 2013 at 7:44 PM, Andy Grover <agrover redhat com
<mailto:agrover redhat com>> wrote:

I'm looking to use python-augeas to parse an Apache-style conf
file into some sort of tree structure, which I can then walk and
output in another format.

(More info: I'm looking to write a tool to convert configuration
for the tgtd iscsi target to the LIO iscsi target.)


The test file is a good example of using the library.

You were referring to TextStore and TextRetrieve tests? Unfortunately it looks like these are not supported in the released 0.4.1 version of python-augeas. Bug filed in Trac asking for a new release.

Is there another way to do what I'm trying to do, without those?

Thanks -- Regards -- Andy

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]