Issue #16384 has been updated by Melissa Stone.

Released in Puppet 3.4.0-rc1

----------------------------------------
Bug #16384: `puppet parser validate` tells me to use help when invoked correctly
https://projects.puppetlabs.com/issues/16384#change-100612

* Author: Andrew Parker
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: parser
* Target version: 3.4.0
* Affected Puppet version: 
* Keywords: parser face errors help
* Branch: https://github.com/puppetlabs/puppet/pull/1925
----------------------------------------
The `puppet parser validate` command, when invoked correctly, but with input 
that does not parse correctly exits with a non-zero status, but also tells me 
to execute `puppet help parser validate` for how to use the command. It should 
only show that message if I invoked the command incorrectly.

<pre>
[13:53:24][Ruby(ruby-1.8.7-p358)][Git(3.x)] andy:puppet
> echo "notice(1)"  | puppet parser validate
[13:53:42][Ruby(ruby-1.8.7-p358)][Git(3.x)] andy:puppet
> echo $?
0
[13:53:49][Ruby(ruby-1.8.7-p358)][Git(3.x)] andy:puppet
> echo "1"  | puppet parser validate
Error: Could not parse for environment production: Syntax error at end of file 
at line 2
Error: Try 'puppet help parser validate' for usage
[13:53:53][Ruby(ruby-1.8.7-p358)][Git(3.x)] andy:puppet
> echo $?
1
</pre>


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to