diff options
Diffstat (limited to 'lib/puppet/parser/ast/classdef.rb')
-rw-r--r-- | lib/puppet/parser/ast/classdef.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/puppet/parser/ast/classdef.rb b/lib/puppet/parser/ast/classdef.rb index cb66b3a8a..336cf0189 100644 --- a/lib/puppet/parser/ast/classdef.rb +++ b/lib/puppet/parser/ast/classdef.rb @@ -5,6 +5,8 @@ class Puppet::Parser::AST # but classes are always singletons -- only one can exist on a given # host. class ClassDef < AST::CompDef + @keyword = "class" + def self.genclass AST::HostClass end @@ -55,12 +57,6 @@ class Puppet::Parser::AST end end - def initialize(hash) - @parentclass = nil - @keyword = "class" - super - end - def tree(indent = 0) #@args.tree(indent + 1), return [ |