diff options
Diffstat (limited to 'lib/puppet/parser/ast/classdef.rb')
-rw-r--r-- | lib/puppet/parser/ast/classdef.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/puppet/parser/ast/classdef.rb b/lib/puppet/parser/ast/classdef.rb index 0a6a86816..cb66b3a8a 100644 --- a/lib/puppet/parser/ast/classdef.rb +++ b/lib/puppet/parser/ast/classdef.rb @@ -5,7 +5,9 @@ class Puppet::Parser::AST # but classes are always singletons -- only one can exist on a given # host. class ClassDef < AST::CompDef - attr_accessor :parentclass + def self.genclass + AST::HostClass + end def each if @parentclass @@ -18,7 +20,7 @@ class Puppet::Parser::AST end # Store our parse tree according to type. - def evaluate(hash) + def disabled_evaluate(hash) scope = hash[:scope] type = @type.safeevaluate(:scope => scope) #args = @args.safeevaluate(:scope => scope) |