When calling query_facts against puppetdb 6 I can see the connection on port 8081 with tcpdump but get the following error:
Error while evaluating a Function Call, undefined method facts_query for #<PuppetDB::Parser:0x6bab009>
Which seems to relate to the following code in the query_facts function:
parser = PuppetDB::Parser.new
query = parser.facts_query query,
facts_for_query if query.is_a? String
parser.facts_hash(puppetdb.query(:facts, query, :extract =>
[:certname, :name, :value]), facts)
Of course we will check with the module authors but wonder has anyone else seen something similar and could it relate to the version of puppetdb ? As noted we can see the database connection being made but can't view the payload due to SSL. Any help would be greatly appreciated.