Issue #2628 has been updated by Nigel Kersten.
Neil, if you submit it as a pull request on github, we can have that discussion on the puppet-dev list? <https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md> ---------------------------------------- Feature #2628: It would be useful if node name regexps set $1 https://projects.puppetlabs.com/issues/2628 Author: Markus Roberts Status: Accepted Priority: Normal Assignee: Brice Figureau Category: language Target version: Affected Puppet version: 0.25.0 Keywords: Branch: If $1 was set as below: <pre> node /([a-z])\d+.my.com/ { include "role::$1" } </pre> <pre> node /(web|mail|db)\d+.my.com/ { include "role::$1" } </pre> Then we could have things like web001.my.com would include the "role::web" class -- 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.
