Details
Description
if a node happens to match the name of a class, it will override its namespace with the node's namespace (which I didn't even know existed). I marked this as major b/c it potentially breaks any modules that rely on fully qualified namespace lookup (like apache)
The issue is probably better articulated with the following simple example:
class foo {
|
$bar = 'one'
|
}
|
|
node /foo/ {
|
$bar = 'two'
|
include foo
|
notice("${::foo::bar}")
|
}
|
Attachments
Issue Links
- is duplicated by
-
PUP-1121 Node regex beginning with dash results in invalid tag
-
- Resolved
-
-
PUP-5818 regular expression character class/sets interpreted incorrectly for node
-
- Closed
-
- relates to
-
PUP-3995 Prevent node resource names from overlapping with other resources
-
- Resolved
-
-
PUP-1832 Implement new Puppet Language Runtime
-
- Closed
-
- links to