From 1fdb96266e2d1a083e1ecc76c5ae136ba73f2999 Mon Sep 17 00:00:00 2001 From: luke Date: Thu, 16 Feb 2006 19:10:34 +0000 Subject: Changing transactions to be one-stage instead of two, and changing most of the type classes to use "obj[:name]" instead of "obj.name" where appropriate, because "obj.name" might be a symbolic name (e.g., File.unlink(file.name) will not do what you want if file.name == "sshdconfig" but file[:path] == "/etc/ssh/sshd_config") git-svn-id: https://reductivelabs.com/svn/puppet/trunk@922 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/parser/ast/node.rb | 1 - lib/puppet/parser/scope.rb | 1 - 2 files changed, 2 deletions(-) (limited to 'lib/puppet/parser') diff --git a/lib/puppet/parser/ast/node.rb b/lib/puppet/parser/ast/node.rb index 79fdd50d7..2e33eb672 100644 --- a/lib/puppet/parser/ast/node.rb +++ b/lib/puppet/parser/ast/node.rb @@ -48,7 +48,6 @@ class Puppet::Parser::AST # Evaluate our parent class. def evalparent(scope) if @parentclass - Puppet.warning "evaluating parent %s" % @parentclass # This is pretty messed up. I don't know if this will # work in the long term, but we need to evaluate the node # in our own scope, even though our parent node has diff --git a/lib/puppet/parser/scope.rb b/lib/puppet/parser/scope.rb index 27a64eec6..641a05758 100644 --- a/lib/puppet/parser/scope.rb +++ b/lib/puppet/parser/scope.rb @@ -251,7 +251,6 @@ module Puppet # And now evaluate each set klass within the nodescope. classes.each { |klass| if code = scope.lookuptype(klass) - Puppet.warning "evaluating %s" % klass code.safeevaluate(scope, {}, klass, klass) end } -- cgit