Issue #14901 has been updated by Andrew  Parker.

The problem is caused by incorrectly swallowing an error from the option 
parsing library. The library does not normally allow the same argument to be 
specified multiple times and raises the error when that does occur.

We can fix this by allowing the options to appear multiple times, but then it 
brings up the question of how to deal with merging the values into a single 
value to be used by the rest of the system (since that is what everything 
expects). To maintain compatibility with 2.7 the last value in the argument 
list should win.

----------------------------------------
Bug #14901: puppet does not handle duplicated optional arguments correctly
https://projects.puppetlabs.com/issues/14901#change-64779

Author: Patrick Carlisle
Status: Accepted
Priority: High
Assignee: Andrew  Parker
Category: 
Target version: 3.0.0
Affected Puppet version: 3.0.0rc3
Keywords: 
Branch: 


`puppet master --no-daemonize --no-daemonize` daemonizes, as does `puppet 
master --no-daemonize --trace --trace` (arguments in any order)

`puppet master --genconfig --genconfig` does not genconfig


-- 
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