Issue #22852 has been updated by Reinhard Vicinus.

Status changed from Needs More Information to Needs Decision
Affected Puppet version changed from 3.3.1 to 3.3.2

Hi,

i have found the cause for this issue. After learning, that --trace will print 
a trace of the error (I throught --debug would do this), it was simple to find 
the culprit: puppetlabs/dashboard

For a more informative error message i would suggest to replace the line 36 in 
the file puppet/interface/option.rb from:
<pre><code class="ruby">
raise ArgumentError, "#{item.inspect}: already defined in puppet"
</code></pre>
to:
<pre><code class="ruby">
raise ArgumentError, "Option #{item.inspect} of #{@parent}: already defined in 
puppet"
</code></pre>

The resulting message is a lot more informative:
<pre>
Error: Option "--name=" of Puppet::Face[:dashboard, v0.0.1]#create_node: 
already defined in puppet
</pre>
The question remains if this is a bug in puppet or the puppet dashboard module. 
Need options to be global unique or is the dashboard face using the option 
functionality wrong?



----------------------------------------
Bug #22852: puppet help only show error message
https://projects.puppetlabs.com/issues/22852#change-100087

* Author: Reinhard Vicinus
* Status: Needs Decision
* Priority: Normal
* Assignee: Reinhard Vicinus
* Category: 
* Target version: 
* Affected Puppet version: 3.3.2
* Keywords: 
* Branch: 
----------------------------------------
All puppet agents i have updated from 3.3.0 to 3.3.1 show on "puppet help" only 
the following error message:

Error: "--name=": already defined in puppet
Error: Try 'puppet help help help' for usage

The same error is shown with all "puppet man xyz" commands, but "puppet help 
xyz" seems to work with all commands.


-- 
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 [email protected].
To post to this group, send email to [email protected].
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