You could query foreman to get the facts via rest, see : http://theforeman.org/projects/foreman/wiki/API
Ohad On Tue, Nov 9, 2010 at 4:06 PM, Pieter Baele <pieter.ba...@gmail.com> wrote: > Hi, > > I would like to query the puppetmaster (or the puppet nodes...) for some > facts > and display/use these in an external web application (written django) > using the certificates from Puppet. > > What's the correct (nice) way to do this? REST? > Can I find some code examples for this? > > Met vriendelijke groeten, > Pieter Baele > www.pieterb.be > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-us...@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.