Issue #286 has been updated by gorget. Status changed from Re-opened to Closed
luke wrote: > My position here is that I hope to have a node classifier as a standard part > of the infrastructure by the end of the year, which makes this not really > worth implementing from my perspective. > > If someone else disagrees and wants to submit the code, I'd accept it. Ok, that makes sense, I will try to find an easy work around using regsubst or external node. ---------------------------------------- Feature #286: Support wildmat/regex matches http://projects.reductivelabs.com/issues/286 Author: admin Status: Closed Priority: Normal Assigned to: luke Category: language Target version: unplanned Complexity: Hard Patch: None Affected version: 0.25.0 Keywords: 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 -~----------~----~----~----~------~----~------~--~---
