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

Greg Swift gregswift at gmail.com
Thu Nov 21 04:28:20 UTC 2013


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 at 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 at redhat.com
>> <mailto:agrover at 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.)
>>>
>>
>  https://github.com/hercules-team/python-augeas/blob/
>> master/test/test_augeas.py
>>
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20131120/a51a6f5e/attachment.htm>


More information about the augeas-devel mailing list