Issue #21551 has been updated by Charlie Sharpsteen.

Description updated

----------------------------------------
Bug #21551: node regex does not work with [[:alpha:]] at the start
https://projects.puppetlabs.com/issues/21551#change-93948

* Author: Stuart Gall
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 3.x
* Affected Puppet version: 3.2.2
* Keywords: node regex Invalid tag
* Branch: 
----------------------------------------
<pre>
node /^[[:alpha:]]+-corp-vmps-[[:digit:]]+/ {    # This does not work. 
</pre>

When a node matches we get
 
<pre>
puppet-master[25985]: Invalid tag ":alpha:-corp-vmps-:digit:" on node 
cbg-corp-vmps-99.
in the server log
</pre>

The following works as expected

<pre>
node /^\w+-corp-vmps-[[:digit:]]+/ {                                            
                      
</pre>

we use `[[:alpha:]]` elsewhere in node definitions but not at the start without 
any issues.


-- 
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