dont worry about this.
Chatted with two awesome guys in puppet IRC and got the solution.
It was a puppetdb version issue.
On Thursday, July 25, 2013 2:46:07 PM UTC+10, watchman wrote:
Hello folks,
Is there any way to see what are the resources exported by a node when
using puppetdb and
would you mind sharing your solution - for the benefit of others who may
find your question by googleing - and can't really find the answer in the
irc conversation you had? :)
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To
The actual problem is explained in the link in my first message and it was
caused by an older version(0.9.0-1puppetlabs1) of puppetdb. I installed
puppetdb through modules and was hopping that it would install the latest
version(1.3.2). Thar was the reason I was trying the v2 query. Then later I