diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-07-04 21:06:26 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-07-04 21:06:26 +0000 |
| commit | 0ff7827d4d7f42fe59c10af35266f197e83b2b17 (patch) | |
| tree | de9f74e509a7ed8d8be76f937445569fca184242 /lib/puppet/parser/ast | |
| parent | a627f467f0455281ce7fbe4690b7b408fbe80f82 (diff) | |
Fixing #620 - class names and node names now throw an error when they conflict
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2646 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser/ast')
| -rw-r--r-- | lib/puppet/parser/ast/hostclass.rb | 2 |
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 |
