Issue #21551 has been updated by Charlie Sharpsteen. Status changed from Unreviewed to Duplicate Assignee set to Charlie Sharpsteen
Looks like this is a duplicate of #5898. What is happening is that the node regex is getting stringified to produce a tag . The tag is later validated against the regex `^\w[-\w:.]*$` which rejects it because there is a non-word character at the beginning of the string. ---------------------------------------- Bug #21551: node regex does not work with [[:alpha:]] at the start https://projects.puppetlabs.com/issues/21551#change-93949 * Author: Stuart Gall * Status: Duplicate * Priority: Normal * Assignee: Charlie Sharpsteen * 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.
