Issue #4826 has been updated by Joshua Lifton.

Assignee deleted (Paul Berry)

This issue was assigned to a former Puppet Labs employee. Adding back to the 
pool of unreviewed issues.
----------------------------------------
Bug #4826: It is difficult to verify that options don't overlap
https://projects.puppetlabs.com/issues/4826

Author: Paul Berry
Status: Accepted
Priority: Normal
Assignee: 
Category: testing
Target version: 2.7.x
Affected Puppet version: 2.6.0
Keywords: 
Branch: 


Bug #4822 arose because we inadvertently had a global "-o" option (--onetime) 
which overlapped with an application-specific "-o" option (puppet doc's 
--outputdir), and the was getting resolved incorrectly.  Jesse and I fixed it 
by changing the resolution so that application-specific options take precedence 
over global options.

We also manually verified that there are no other options conflicts in the 
system.  But it would be easy for an options conflict to arise in the future 
without anyone noticing.  It would be nice if our spec tests had a way to 
verify that there were no options conflicts between global and 
application-specific options, so that we don't inadvertently introduce bugs 
like #4822 in the future.


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