Issue #21551 has been updated by Stuart Gall.

the posting has stripped all the square brackets from my report.
:alpha: is double square bracket :alpha: double close

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

* 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: 
----------------------------------------
node /^[[:alpha:]]+-corp-vmps-[[:digit:]]+/ {    # This does not work. 
When a node matches we get
 
puppet-master[25985]: Invalid tag ":alpha:-corp-vmps-:digit:" on node 
cbg-corp-vmps-99.
in the server log


The following works as expected
node /^\w+-corp-vmps-[[:digit:]]+/ {                                            
                      

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