Issue #7269 has been updated by Daniel Pittman.

Assignee set to Daniel Pittman
Branch set to 
https://github.com/daniel-pittman/puppet/commits/feature/2.7.x/7160-support-json-externally

https://github.com/daniel-pittman/puppet/commits/feature/2.7.x/7160-support-json-externally
 contains a fix for this: earlier validation, a less obtuse message, and 
generally nicer behaviour.

It doesn't fix some of the bigger issues, like telling people what formats 
*are* available, but on the other hand it is also safe enough to go into an RC 
series.

Another ticket will be added to reflect post-2.7.0 work to be done to make this 
work *nicely* rather than just work.
----------------------------------------
Bug #7269: Using `--render-as` with an unsupported format has bad error 
handling...
https://projects.puppetlabs.com/issues/7269

Author: Daniel Pittman
Status: Accepted
Priority: Normal
Assignee: Daniel Pittman
Category: Faces
Target version: 2.7.1
Affected Puppet version: 2.7.0rc1
Keywords: 
Branch: 
https://github.com/daniel-pittman/puppet/commits/feature/2.7.x/7160-support-json-externally


<pre>⚡ puppet facts find hello --render-as json
err: undefined method `render_method' for nil:NilClass</pre>

The problem is that `json` is not a supported rendering format, but the error 
handling is non-existent.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to