Issue #3665 has been updated by James Turnbull.

Status changed from Unreviewed to Accepted


----------------------------------------
Bug #3665: Node scope inheritance is broken in testing
http://projects.puppetlabs.com/issues/3665

Author: Brice Figureau
Status: Accepted
Priority: Normal
Assigned to: Markus Roberts
Category: compiler
Target version: Rowlf
Affected version: testing
Keywords: 
Branch: http://github.com/masterzen/puppet/tree/tickets/testing/3665


The following manifest (which works in 0.25.x) doesn't work anymore in testing

<pre>
$topvar = 12
notice("topvar in main is : ${topvar}")

node macbook {
        notice("topvar in node is : ${topvar}")
}
</pre>

On testing it produces (notice the undef in node):
<pre>
notice: Scope(Class[main]): topvar in main is : 12
notice: Scope(Node[macbook]): topvar in node is : undef
</pre>

On 0.25.x it produces:
<pre>
notice: Scope(Class[main]): topvar in main is : 12
notice: Scope(Node[macbook]): topvar in node is : 12
</pre>




-- 
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.

Reply via email to