Issue #19233 has been reported by Aaron Hicks.
----------------------------------------
Bug #19233: Embedding variables in regex when defining nodes is valid syntax,
but not parsed correctly.
https://projects.puppetlabs.com/issues/19233
Author: Aaron Hicks
Status: Unreviewed
Priority: Normal
Assignee:
Category: node
Target version:
Affected Puppet version: 3.1.0
Keywords: regex node
Branch:
Puppet does not permit passing a variable as a node name when defining a node,
but Ruby-like regex is permitted. When a variable is embedded in a regex, the
syntax is valid and Puppet does not reject the node definition, but the
variable is not parsed correctly and will never match a node.
$nodename = 'foo.local'
node /#{foo.local}/ {
# stuff
}
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.