summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-07-09 20:54:35 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-07-09 20:54:35 +0000
commitf5f894968a60a85ee197e8a6b1b29ffa3762ac2c (patch)
tree63083eef4be91339aedd60d2be2beb2b03123bd3
parent773f1876ae7cb64a17b872fb14219daba11dcd48 (diff)
downloadpuppet-f5f894968a60a85ee197e8a6b1b29ffa3762ac2c.tar.gz
puppet-f5f894968a60a85ee197e8a6b1b29ffa3762ac2c.tar.xz
puppet-f5f894968a60a85ee197e8a6b1b29ffa3762ac2c.zip
Changing the log message when a resource type cannot be found
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2664 980ebf18-57e1-0310-9a29-db15c13687c0
-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