puppetdb unique facts list

38 views
Skip to first unread message

jamese

unread,
Apr 11, 2016, 2:08:05 AM4/11/16
to Puppet Users
Hi,

I'm looking for a way to retrieve a list of fact names from puppetdb.
I don't want to look for facts for a particular host, I'm trying to gather a complete list of unique fact names that exist against any host.
Does anyone know if this is possible?

Wyatt Alt

unread,
Apr 11, 2016, 2:13:29 AM4/11/16
to puppet...@googlegroups.com
Hey jamese,

This is exactly what the fact-names endpoint does. It's documented here: https://docs.puppet.com/puppetdb/4.0/api/query/v4/fact-names.html

does that suit your needs?

Wyatt

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/9b15dd68-cd98-477e-9d24-2c32534de4f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

jamese

unread,
Apr 11, 2016, 2:45:54 AM4/11/16
to Puppet Users
That'll teach me to read the docs properly.  It's exactly what I wanted.  Thanks :)
Reply all
Reply to author
Forward
0 new messages