Issue #5898 has been updated by Nigel Kersten. Status changed from Needs Decision to Accepted Assignee deleted (Nigel Kersten) Priority changed from Normal to Urgent Target version set to 2.7.x
ok. Lets do it. We will "tag with a sanitized version of the regex (ie replacing difficult characters)". ---------------------------------------- Bug #5898: Node regex beginning with dash results in invalid tag https://projects.puppetlabs.com/issues/5898 Author: Matthew Powell Status: Accepted Priority: Urgent Assignee: Category: Target version: 2.7.x Affected Puppet version: 2.6.4 Keywords: Branch: A node regex starting with a dash results in a tag that begins with a dash, which Puppet doesn't accept as valid: node /-(abc|def)-/ { results in the following error when it is matched: Invalid tag "-abcdef-" on node host-abc-5678.example.com Removing the initial dash works as expected: node /(abc|def)-/ { -- 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.
