Issue #7183 has been updated by Daniel Pittman.

I am undecided, but extending the syntax to support the '1.x' later if we want 
to go down that complex path is possible; for the moment lets try the simple 
version, and then grow it later if we need to.  We can uniquely distinguish 
this syntax from the other.
----------------------------------------
Feature #7183: Implement "invisible glob" version matching for faces
https://projects.puppetlabs.com/issues/7183

Author: Daniel Pittman
Status: Accepted
Priority: Immediate
Assignee: Daniel Pittman
Category: Faces
Target version: Statler
Affected Puppet version: development
Keywords: 
Branch: 


At the moment we only support "exact match" when requesting a face to either 
extend, or use.  This is kind of undesirable in the face of our use of semantic 
versioning, under which the last digit is utterly irrelevant to the end user 
almost all the time, and they totally do *not* want to explicitly stick with 
the current set of bugs forever.

We should implement "invisible glob", or "prefix" matching: you specify digits 
from the left, and we treat the highest version that matches that prefix to be 
the one you wanted:

    1 => 1.0.0, 1.1.*, etc
    1.1 => 1.1.*, but not 1.0.* or 1.2.*

This won't be sufficient forever, since someone will eventually want to match 
"1.1 or greater", but it doesn't shut the door on extending the syntax when we 
get that far, and we can have this working right now, for release 0.


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