Hi,
I'm looking for a way to list all hosts known by a puppetserver (in puppetdb).
I've been using 'puppet cert list --all', however, this doesn't necessarily correspond to the list of hosts in puppetdb (for example, if I have to rebuild the puppet server, and lose all the certs, but I still have the database).
Is there a 'puppet' command to list all known hosts?
I know that it's possible by running a curl against the puppetdb server itself, but it would be much cleaner if I could just run a command on the puppetserver.
Thanks,
Dan