On Mar 4, 2009, at 4:44 AM, mattimust...@gmail.com wrote: > > > > On Mar 4, 3:56 am, Luke Kanies <l...@madstop.com> wrote: >> >> Not to nit-pick, but it's more that I just couldn't write in the >> language. I did try pretty hard, and have since successfully written >> a bit in it (in Jython, actually), but I just could never turn my >> ideas into code in Python. And no, it wasn't the white space. >> > > Without preusing the code base, how much of Puppet is RESTful these > days? I thought work was done in this area already. Wouldn't that > imply we could interface to those parts in any language? > > /usr/bin/curl FTW!
Much of Puppet's internals use the plugin interface that provides RESTful behaviour (the mythical Indirector), but 0.25 will be the first release where we actually use RESTful connections. And yes, you can kind of use curl, as long as you can get it to speak ssl, but at least initially, you'll mostly get yaml- or marshal-dumped Ruby objects, not language-agnostic information. It'll ship with support for adding things like json, but I don't want to delay the release further trying to squeeze those in. -- In theory, there is no difference between theory and practice; in practice, there is. -- Chuck Reid --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---