Mohit Chawla
2013-Apr-05 08:14 UTC
[Puppet Users] puppet node find doesn''t return classes and scope vars ?
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 ? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Jon McKenzie
2013-Dec-13 17:13 UTC
[Puppet Users] Re: puppet node find doesn''t return classes and scope vars ?
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! On Friday, April 5, 2013 4:14:36 AM UTC-4, Mohit Chawla wrote:> > 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 ? >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8441d5dd-8207-4f3a-9fce-6f8ab872b199%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Paul Archer
2013-Dec-13 22:08 UTC
[Puppet Users] Re: puppet node find doesn''t return classes and scope vars ?
I see that puppet 3.3.2 has the problem as well. Worse, the documentation for ''puppet node'' doesn''t match the actual command. On Friday, December 13, 2013 11:13:26 AM UTC-6, Jon McKenzie wrote:> > Re-upping this topic rather than creating a new one. > > I''m using Puppet 3.3.1 and am still having this problem. > > >>-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/25ab52dd-6501-43f8-9cb3-d88da100d17d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.