diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-03-09 18:12:15 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-03-09 18:12:15 +0000 |
commit | 7756f9a57fa83e811888298edd339978bb6a9c83 (patch) | |
tree | e59619365ee6f7be1bad74fcee633269ef7ba7cc /lib/puppet/parser/ast | |
parent | 2faff5d5861c100e0075fca5bd6acef4e4867598 (diff) | |
download | puppet-7756f9a57fa83e811888298edd339978bb6a9c83.tar.gz puppet-7756f9a57fa83e811888298edd339978bb6a9c83.tar.xz puppet-7756f9a57fa83e811888298edd339978bb6a9c83.zip |
Fixing #97. I was wrong about the object type I had, so I was calling "type" with no arguments, which was causing the bug.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@995 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser/ast')
-rw-r--r-- | lib/puppet/parser/ast/objectdef.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/ast/objectdef.rb b/lib/puppet/parser/ast/objectdef.rb index 7b7bf6648..0a9ba23cd 100644 --- a/lib/puppet/parser/ast/objectdef.rb +++ b/lib/puppet/parser/ast/objectdef.rb @@ -192,7 +192,7 @@ class Puppet::Parser::AST unless type.validattr?(pname) error = Puppet::ParseError.new( "Invalid parameter '%s' for type '%s'" % - [pname,type.type] + [pname, type.name] ) error.line = self.line error.file = self.file |