Issue #2628 has been updated by Neil Hemingway.
I have implemented it as I could usefully use it. (see #11133 - closed as it duplicates this feature request) - but as I have limited experience hacking on the internals of puppet, I need someone to have a look at what I've done and say "Yes that looks reasonable", or "no, you ought to do it over here" ---------------------------------------- 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.
