Issue #286 has been updated by James Turnbull.

Keywords set to if case node regular expression matching


----------------------------------------
Feature #286: Support wildmat/regex matches
http://projects.reductivelabs.com/issues/286

Author: Redmine Admin
Status: Closed
Priority: Normal
Assigned to: Luke Kanies
Category: language
Target version: 0.25.0
Complexity: Hard
Patch: None
Affected version: 0.25.0
Keywords: if case node regular expression matching


Having wildmat/regex pattern matching for node, case, if, etc would be very 
powerful.

Instead of assuming all strings are one type or another, one possibility would 
be to assume strings without any meta-chars to be an exact match, those with 
meta-chars to be interpreted wildmat (globbing), and those prefixed with "re:" 
(or %r) to be interpreted as regex. This maintains compatibility without 
surprises for those not using/familiar with regex.

wildmat/globbing looks cleaner for common cases (eg "node: farm*" for matching 
all "farmXXX" hosts), but regex is more precise (thus i enjoy having both).


-- 
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://reductivelabs.com/redmine/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