How to access puppetdb from web using api

asked 2018-01-22 01:20:48 -0600

I need to get node information like version ,operating system,machine from puppetdb (master). It seems we have an api to query to puppet db. can someone explain how does it work. we need to have a c# rest client for it like a website.

edit retag flag offensive close merge delete

Comments

1

The documentation is pretty good. If you're interested in simply querying the database via REST, this link should help: https://puppet.com/docs/puppetdb/5.1/api/query/tutorial.html C# rest clients are a bit out of the scope of a Puppet discussion forum ;)

luksi1 gravatar imageluksi1 ( 2018-01-22 15:23:06 -0600 )edit

Thanks I got the process but i need to query puppet DB api from a remote server

ezvisitor gravatar imageezvisitor ( 2018-01-29 03:38:10 -0600 )edit