This is actually really annoying. I think i figured it out by looking into the puppet:
Expects: Variant[String[1], Array[Data, 1]] Returns: Array[Hash]
Please document this correctly.
I still don't know where the puppetdb_query function is? Any news on this guys?
the "puppetdb_query" appears to be contained in the system package: puppetdb-termini and contained in the following code repository https://github.com/puppetlabs/puppetdb