[augeas-devel] Some ideas about how to use Augeas with IPA

Dominique Dumont dominique.dumont at hp.com
Wed May 14 12:46:18 UTC 2008


Harald Hoyer <harald at redhat.com> writes:

> Dominique Dumont wrote:
>> Dmitri Pal <dpal at redhat.com> writes:
>>
>>> Thank you Dominique.
>>>
>>> Can you please add links to [1] and [2]?
>>
>> Yes. Here they are
>>
>> [1] http://freshmeat.net/releases/275271/
>> [2] http://config-model.svn.sourceforge.net/viewvc/config-model/trunk/config-model-sshd/lib/Config/Model/models/Sshd.pl?revision=659&view=markup
>>
>> Sorry for the mistake.
>>
>
> Hmm.. Perl.. well, that makes it non-useable for most things like
> our python config tools, dbus services, etc..

I'd say more difficult, but not non-useable.

There are ways to call Perl from Python with pyperl:

   http://search.cpan.org/~gaas/pyperl-1.0/perlmodule.pod

And there's a binding between dbus and Perl:
  
   http://search.cpan.org/dist/Net-DBus/

I grant you that I have not tried these modules so I don't know if
they are easy to use.

If you don't fancy embedding a perl interpreter, you can also use the
STDIN/STDOUT interface of Config::Model:

   http://search.cpan.org/dist/Config-Model/lib/Config/Model/SimpleUI.pm

HTH

-- 
Dominique Dumont 
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner




More information about the augeas-devel mailing list