Re: [Puppet Users] Query facter 'facts' from webapp

2010-11-09 Thread James Turnbull
Pieter Baele 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 exa

Re: [Puppet Users] Query facter 'facts' from webapp

2010-11-09 Thread Stefan Goethals
On Tue, Nov 9, 2010 at 3:06 PM, Pieter Baele 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

Re: [Puppet Users] Query facter 'facts' from webapp

2010-11-09 Thread Ohad Levy
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 wrote: > Hi, > > I would like to query the puppetmaster (or the puppet nodes...) for some > facts > and display/use these in an external web

Re: [Puppet Users] Query facter 'facts' from webapp

2010-11-09 Thread Matt Wallace
On Tuesday 09 Nov 2010 15:06:28 Pieter Baele 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?

[Puppet Users] Query facter 'facts' from webapp

2010-11-09 Thread Pieter Baele
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 gr