summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-01-08 00:02:23 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-01-08 00:02:23 +0000
commitcbf10c5e365fb7440c89321a2c329e40424d30b4 (patch)
tree6be719c4848e73d75d8661f240cd4e1e2f1f2a1d /lib/puppet/parser
parent23f982ecda3fd74867d404b5e784f072db9a1cde (diff)
downloadpuppet-cbf10c5e365fb7440c89321a2c329e40424d30b4.tar.gz
puppet-cbf10c5e365fb7440c89321a2c329e40424d30b4.tar.xz
puppet-cbf10c5e365fb7440c89321a2c329e40424d30b4.zip
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
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r--lib/puppet/parser/ast.rb2
1 files changed, 1 insertions, 1 deletions
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]