If you have permission on web.ss in var/lib/cobbler you can read that and use it as the authentication token, that is how the CLI works, so yes, no Apache required! Read cli.py for details ... I think :)
Sent from my iPad On Jun 23, 2010, at 12:00 AM, Thomas S Hatch <[email protected]> wrote: > Yes, using the xmlrpc would be much more elegant, and probably faster. I > cranked these out very quickly and I wanted to make them very simple to > start. I also wanted to build an interface that could easily take more > options in the future and simply iterate over the possible values, this > method has worked very well for my in other cobbler automation tasks, all of > which have used the xmlrpc interface. > > Thanks for your positive response though, I was a little worried that you had > started on cobbler types for puppet given your new position, congratulations > are of course in order! > > One quick question, the cli interface manages calls through xmlrpc, so they > don't seem to need to authenticate, I was wondering how this was possible, I > have not looked for it in the cobbler code yet. As I understand it apache > acts as the authentication layer for the python based xmlrpc server and runs > proxy to the xmlrpc interface. I assume you can connect directly to the > xmlrpc interface from localhost? > > Thanks Michael, your work on cobbler has been a great benefit to my work. > > On Tue, Jun 22, 2010 at 1:16 PM, Michael DeHaan <[email protected]> > wrote: > Sweet! I think you should use the cobbler xmlrpc API ideally though; but the > CLI uses the same so that is still good. I will take a closer look later > this week! > > -- Michael > > > On Jun 22, 2010, at 1:15 PM, Thomas S Hatch <[email protected]> wrote: > > Here are my cobbler types, and they are my first puppet types(and my ruby is > still rather weak), so go easy on me... > > They still need better doc strings and descriptions, and there are a few more > parameters I need to support. Also they could of course use more testing, > but what doesn't! > > Please tell me what you think. > > -Tom Hatch > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > <cobbler_distro.rb> > <cobbler_nic.rb> > <cobbler_profile.rb> > <cobbler_repo.rb> > <cobbler_system.rb> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
