On Nov 9, 6:06 am, Pieter Baele <[email protected]> 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 Baelewww.pieterb.be

Pieter, It's not a solution today but it sounds like you're looking
for the Inventory Service[1]. The basic idea is to collect, and
export, the client facts using a REST interface from a central
service. There's a push to get this in to 2.7[2], so some of your work
may be done for you already.

The mcollective registration method also works great, if you want to
go that route.

[1] http://projects.puppetlabs.com/projects/1/wiki/InventoryServiceArchitecture
[2] 
http://groups.google.com/group/puppet-dev/browse_thread/thread/4fa1c3dc34725004/5e822ab9c65dadee

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en.

Reply via email to