summaryrefslogtreecommitdiffstats
path: root/lib/puppet/interface/documentation.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-20 15:51:39 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-21 12:37:26 -0700
commitf17f6bba87519db888854acf7017ddff61f635be (patch)
treedc092056e59e018bb6e56f1c4918685220d21ad9 /lib/puppet/interface/documentation.rb
parent7414ee7ebda1052f4c52f3e5565726f20de5a20b (diff)
downloadpuppet-f17f6bba87519db888854acf7017ddff61f635be.tar.gz
puppet-f17f6bba87519db888854acf7017ddff61f635be.tar.xz
puppet-f17f6bba87519db888854acf7017ddff61f635be.zip
(#7183) Implement "invisible glob" version matching for faces
"Invisible glob", or "prefix", version matching means that when you specify a version string to use you can specify as little as one version number out of the semantic versioning spec. Matching is done on the prefix; an omitted number is treated as "anything" in that slot, and we return the highest matching versioned face by that spec. For example, given the set of versions: 1.0.0, 1.0.1, 1.1.0, 1.1.1, 2.0.0 The following would be matched: input matched 1 1.1.1 1.0 1.0.1 1.0.1 1.0.1 1.0.2 fail - no match 1.1 1.1.1 1.1.1 1.1.1 1.2 fail - no match
Diffstat (limited to 'lib/puppet/interface/documentation.rb')
0 files changed, 0 insertions, 0 deletions