summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/ast/hostclass.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/ast/hostclass.rb')
-rw-r--r--lib/puppet/parser/ast/hostclass.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/ast/hostclass.rb b/lib/puppet/parser/ast/hostclass.rb
index 5416c1071..642645824 100644
--- a/lib/puppet/parser/ast/hostclass.rb
+++ b/lib/puppet/parser/ast/hostclass.rb
@@ -25,7 +25,7 @@ class Puppet::Parser::AST
args = hash[:arguments]
# Verify that we haven't already been evaluated
- if scope.setclass?(self)
+ if scope.class_scope(self)
Puppet.debug "%s class already evaluated" % @type
return nil
end