is there any way to see what are the resources exported by a node?

42 views
Skip to first unread message

watchman

unread,
Jul 25, 2013, 12:46:07 AM7/25/13
to puppet...@googlegroups.com
Hello folks,

Is there any way to see what are the resources exported by a node when using puppetdb and exported resources. 

I am running puppet 2.7.22 and puppetdb 1.3 on Ubuntu 10.4. I have tried to use e API and its not working for me(see https://groups.google.com/forum/#!topicsearchin/puppet-users/puppetdb$20API$20v2$20is$20not$20working$20for$20me/puppet-users/WFo9YEw6oRo)

Anyone know any SQL query to get this info? 


Thanks so much in advance

Watchman


watchman

unread,
Jul 25, 2013, 2:20:22 AM7/25/13
to puppet...@googlegroups.com
dont worry about this. 

Chatted with two awesome guys in puppet IRC and got the solution. 

It was a puppetdb version issue. 

Klavs Klavsen

unread,
Jul 25, 2013, 8:15:44 AM7/25/13
to puppet...@googlegroups.com
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? :)

Manoj

unread,
Jul 25, 2013, 7:29:33 PM7/25/13
to puppet...@googlegroups.com
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 looked at the puppetdb logs and in the restart message it clearly says the version. 

When I fix my apt-get and install the new puppetdb all start working. 


On Thu, Jul 25, 2013 at 10:15 PM, Klavs Klavsen <kl...@enableit.dk> wrote:
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 a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/5ufuFOPbcWc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To post to this group, send email to puppet...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Manoj
+61-416128308
Reply all
Reply to author
Forward
0 new messages