From cbf10c5e365fb7440c89321a2c329e40424d30b4 Mon Sep 17 00:00:00 2001 From: luke Date: Sun, 8 Jan 2006 00:02:23 +0000 Subject: Merging changes from the head of the rework1 branch, r 784 git-svn-id: https://reductivelabs.com/svn/puppet/trunk@787 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/parser/ast.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/parser') diff --git a/lib/puppet/parser/ast.rb b/lib/puppet/parser/ast.rb index dd56c109a..193f85eb1 100644 --- a/lib/puppet/parser/ast.rb +++ b/lib/puppet/parser/ast.rb @@ -545,7 +545,7 @@ module Puppet raise Puppet::DevError, detail.to_s end next if pname == "name" # always allow these - unless type.validarg?(pname) + unless type.validattr?(pname) error = Puppet::ParseError.new( "Invalid parameter '%s' for type '%s'" % [pname,type.name] -- cgit