Hi Michael,

That's really no problem. I just wanted to give it a go since it was in the 
tutorial. 
Thanks for looking into it anyway.

I am glad I am now on http://cfgmgmtcamp.eu/ , the tutors here are great, I 
am learning a lot here.

Joost


Op maandag 27 januari 2014 14:34:34 UTC+1 schreef Michael DeHaan:
>
> That's curious.
>
> I wrote that script against a live Cobbler install and we've got users 
> using it in the wild.
>
> Unfortunately, this isn't something we really have time to troubleshoot 
> here.  It is something that we'd help support customers with, but it 
> involves replicating and digging inside of your Cobbler setup, so it's a 
> bit out of scope for ansible-project's mailing list.
>
>
>
>
> On Mon, Jan 27, 2014 at 7:45 AM, Joost Ringoot <jrin...@gmail.com<javascript:>
> > wrote:
>
>> I looked a bit further, did RTFM of cobbler, and found this:
>> https://fedorahosted.org/cobbler/wiki/CobblerXmlrpc
>> Where I did a test with the included example code:
>>
>>
>> *#!/usr/bin/python
>> import xmlrpclib
>> server = xmlrpclib.Server("http://127.0.0.1/cobbler_api 
>> <http://127.0.0.1/cobbler_api>")
>> server = xmlrpclib.Server("http://127.0.0.1/cobbler_api 
>> <http://127.0.0.1/cobbler_api>")
>> print server.get_distros()
>> print server.get_profiles()
>> print server.get_systems()
>> print server.get_images()
>> print server.get_repos()*
>>
>>
>> This gives a lot of output, not well formatted, but I recognise what is 
>> stored in cobbler.
>>
>> So imho, the cobbler_api works, ... but not the way the cobbler.py script 
>> tries present data from it.
>>
>> Thanks,
>>
>> Joost
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to ansible-proje...@googlegroups.com <javascript:>.
>> To post to this group, send email to ansible...@googlegroups.com<javascript:>
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Michael DeHaan <mic...@ansibleworks.com <javascript:>>
> CTO, AnsibleWorks, Inc.
> http://www.ansibleworks.com/
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to