From 23f982ecda3fd74867d404b5e784f072db9a1cde Mon Sep 17 00:00:00 2001 From: luke Date: Sat, 7 Jan 2006 23:33:38 +0000 Subject: Undoing the merge that happened in 785 git-svn-id: https://reductivelabs.com/svn/puppet/trunk@786 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 193f85eb1..dd56c109a 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.validattr?(pname) + unless type.validarg?(pname) error = Puppet::ParseError.new( "Invalid parameter '%s' for type '%s'" % [pname,type.name] -- cgit