From ee652796206b8d2eb52befa2e1fe3032b21c19b3 Mon Sep 17 00:00:00 2001 From: luke Date: Wed, 5 Apr 2006 03:40:03 +0000 Subject: Fixing #103. There are now no such things as node scopes; the entire tree is evaluated on every node connection, and node facts are set at the top-level scope. This includes,um, the code; the last commit was accidentally just test changes. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1073 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/parser/ast/node.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/puppet/parser/ast') diff --git a/lib/puppet/parser/ast/node.rb b/lib/puppet/parser/ast/node.rb index 32bed7a2b..2e68cbdb3 100644 --- a/lib/puppet/parser/ast/node.rb +++ b/lib/puppet/parser/ast/node.rb @@ -19,10 +19,6 @@ class Puppet::Parser::AST ) scope.context = self.object_id - # Mark this scope as a nodescope, so that classes will be - # singletons within it - scope.isnodescope - # Now set all of the facts inside this scope facts.each { |var, value| scope.setvar(var, value) -- cgit