diff options
Diffstat (limited to 'lib/puppet/parser/ast/resource_defaults.rb')
-rw-r--r-- | lib/puppet/parser/ast/resource_defaults.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/parser/ast/resource_defaults.rb b/lib/puppet/parser/ast/resource_defaults.rb index f0746ecf1..aec86d02d 100644 --- a/lib/puppet/parser/ast/resource_defaults.rb +++ b/lib/puppet/parser/ast/resource_defaults.rb @@ -4,7 +4,7 @@ class Puppet::Parser::AST # A statement syntactically similar to an ResourceDef, but uses a # capitalized object type and cannot have a name. class ResourceDefaults < AST::Branch - attr_accessor :type, :params + attr_accessor :type, :parameters associates_doc @@ -14,7 +14,7 @@ class Puppet::Parser::AST # Use a resource reference to canonize the type ref = Puppet::Resource.new(@type, "whatever") type = ref.type - params = @params.safeevaluate(scope) + params = @parameters.safeevaluate(scope) parsewrap do scope.setdefaults(type, params) |