summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/resource
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-02-11 12:37:00 -0800
committerLuke Kanies <luke@madstop.com>2008-02-11 12:37:00 -0800
commit194e7309c9c481f7e67bd63b13e2fc80fe0a4f00 (patch)
treeab8770529eefca43abf6145858addd1e65f71f5c /lib/puppet/parser/resource
parentfb4bdc0b02bba1291cb78ccd5c2a3198d3929d69 (diff)
downloadpuppet-194e7309c9c481f7e67bd63b13e2fc80fe0a4f00.tar.gz
puppet-194e7309c9c481f7e67bd63b13e2fc80fe0a4f00.tar.xz
puppet-194e7309c9c481f7e67bd63b13e2fc80fe0a4f00.zip
Moving all of the tests for Puppet::Parser::Compile to
rspec, so I can refactor the class to more heavily rely on a Node::Catalog instead of doing its own resource container management.
Diffstat (limited to 'lib/puppet/parser/resource')
-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 6e70d23b7..ea53b421a 100644
--- a/lib/puppet/parser/resource/reference.rb
+++ b/lib/puppet/parser/resource/reference.rb
@@ -49,7 +49,7 @@ class Puppet::Parser::Resource::Reference < Puppet::ResourceReference
if tmp
@definedtype = tmp
else
- fail Puppet::ParseError, "Could not find resource '%s'" % self
+ fail Puppet::ParseError, "Could not find resource type '%s'" % self.type
end
end