puppet node find doesn't return classes and scope vars ?

79 views
Skip to first unread message

Mohit Chawla

unread,
Apr 5, 2013, 4:14:36 AM4/5/13
to Puppet Users
Hi,

I am trying to use the node subcommand like so:

puppet node find --terminus rest --render-as yaml --mode master foo.com

This only shows facts, name, environment, expiration and time but not the classes or node level variables.

Puppet version is 2.7.20. Any suggestions ?

Jon McKenzie

unread,
Dec 13, 2013, 12:13:26 PM12/13/13
to puppet...@googlegroups.com, mohit.cha...@gmail.com
Re-upping this topic rather than creating a new one.

I'm using Puppet 3.3.1 and am still having this problem.

For example, if I run:

puppet node find $(puppet config print certname) --render-as yaml

The resulting YAML is missing ENC-set parameters (among other things).

On the other hand, if I call the Puppet server's REST API (e.g. a GET to https://puppet:8140/production/node/<certname>), I do get the ENC-set parameters.

I'd like to use the provided command-line tool to do this, but it doesn't seem to be working correctly. Am I missing something?

Thanks!

Paul Archer

unread,
Dec 13, 2013, 5:08:43 PM12/13/13
to puppet...@googlegroups.com, mohit.cha...@gmail.com
I see that puppet 3.3.2 has the problem as well. Worse, the documentation for 'puppet node' doesn't match the actual command.

Felix Frank

unread,
Dec 19, 2013, 7:49:08 AM12/19/13
to puppet...@googlegroups.com
Is there an issue for this in Jira? If not, it would be much appreciated
for either of you to create one.

Thanks,
Felix

Jon McKenzie

unread,
Dec 19, 2013, 10:30:10 AM12/19/13
to puppet...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages