Issue #2628 has been updated by Adrien Thebo.

Status changed from Accepted to Merged - Pending Release
Assignee deleted (Brice Figureau)
Target version set to 3.3.0
Branch set to https://github.com/puppetlabs/puppet/pull/1784

Merged into master in 28bcb8f; this should be released in 3.3.0.

----------------------------------------
Feature #2628: It would be useful if node name regexps set $1
https://projects.puppetlabs.com/issues/2628#change-95431

* Author: Markus Roberts
* Status: Merged - Pending Release
* Priority: Normal
* Assignee: 
* Category: language
* Target version: 3.3.0
* Affected Puppet version: 3.2.1
* Keywords: 
* Branch: https://github.com/puppetlabs/puppet/pull/1784
----------------------------------------
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to