Issue #7433 has been updated by Carla Souza.
Target version set to 2.7.x
Could not reproduce the case that
node /^de.*/ {
# stuff
}
comes before the `node default`. But the case where there isn't a `node
default` was reproducible.
----------------------------------------
Bug #7433: Regular expression nodes can match default
https://projects.puppetlabs.com/issues/7433
Author: Nick Fagerlund
Status: Accepted
Priority: Normal
Assignee:
Category:
Target version: 2.7.x
Affected Puppet version:
Keywords:
Branch:
node /^de.*/ {
# stuff
}
You thought you were just catching all your nodes in Germany, but if you don't
have a `node default` or if this is before `node default` in your site.pp, it
will also match any default nodes.
When the node matching gives up on the certname and falls back to default, it
should only match a literal node name of "default," not a regular expression
that the word "default" happens to match.
--
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.