From 2ab123f5a9ef045c0ea7acf109b5ea67fc9e5cf7 Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Wed, 19 May 2010 23:13:36 -0700 Subject: Removing obsolete nodescope concept Signed-off-by: Luke Kanies --- lib/puppet/resource/type.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/puppet/resource/type.rb b/lib/puppet/resource/type.rb index cb87cc44f..d9673ab04 100644 --- a/lib/puppet/resource/type.rb +++ b/lib/puppet/resource/type.rb @@ -224,9 +224,7 @@ class Puppet::Resource::Type # Create a new subscope in which to evaluate our code. def subscope(scope, resource) - scope = scope.newscope :resource => resource, :namespace => self.namespace, :source => self - scope.nodescope = true if @type == :node - scope + scope.newscope :resource => resource, :namespace => self.namespace, :source => self end # Check whether a given argument is valid. -- cgit