diff options
| author | Luke Kanies <luke@madstop.com> | 2008-02-07 15:52:02 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2008-02-07 15:52:02 -0600 |
| commit | 084d0fb6351ed54ff4c052cff20f21e89063620c (patch) | |
| tree | 4389b3c70bb957c33408d66c11e7ba2769936d42 /lib | |
| parent | b293763f9ef2e134f18bb2c3fdaaaa502aa2c201 (diff) | |
| download | puppet-084d0fb6351ed54ff4c052cff20f21e89063620c.tar.gz puppet-084d0fb6351ed54ff4c052cff20f21e89063620c.tar.xz puppet-084d0fb6351ed54ff4c052cff20f21e89063620c.zip | |
Adding more information to dependencies that do not resolve
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/metatype/metaparams.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/metatype/metaparams.rb b/lib/puppet/metatype/metaparams.rb index b35adae66..9983c34d2 100644 --- a/lib/puppet/metatype/metaparams.rb +++ b/lib/puppet/metatype/metaparams.rb @@ -258,7 +258,7 @@ class Puppet::Type @value.each do |value| unless @resource.catalog.resource(*value) description = self.class.direction == :in ? "dependency" : "dependent" - raise Puppet::Error, "Could not find #{description} %s[%s]" % [value[0].to_s.capitalize, value[1]] + fail Puppet::Error, "Could not find #{description} %s[%s] for %s" % [value[0].to_s.capitalize, value[1], resource.ref] end end end |
