summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/parser/resource/reference.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/resource/reference.rb b/lib/puppet/parser/resource/reference.rb
index 9557d8c54..19d179660 100644
--- a/lib/puppet/parser/resource/reference.rb
+++ b/lib/puppet/parser/resource/reference.rb
@@ -32,7 +32,7 @@ class Puppet::Parser::Resource::Reference
if tmp = @scope.finddefine(self.type)
@definedtype = tmp
else
- fail Puppet::ParseError, "Could not find definition %s" % self.type
+ fail Puppet::ParseError, "Could not find resource type '%s'" % self.type
end
end