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 examples for this?
> 

Puppet 2.6.1+ has a Fact CouchDB REST terminus you can use to do this.

http://projects.puppetlabs.com/projects/puppet/repository/revisions/97936c6d3fa3950d22266679b65d4a6877008a74

Regards

James

-- 
Puppet Labs - http://www.puppetlabs.com
C: 503-734-8571

-- 
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