Issue #20920 has been reported by Erik Dalén.
----------------------------------------
Bug #20920: Include file and line number on invalid resource relationship error
https://projects.puppetlabs.com/issues/20920
* Author: Erik Dalén
* Status: Unreviewed
* Priority: Normal
* Assignee:
* Category: error reporting
* Target version:
* Affected Puppet version: 3.0.0
* Keywords:
* Branch:
----------------------------------------
In Puppet 3.x there's no file name or line number in the error message about
invalid resource relationships. Example:
test.pp
<pre>
file { '/tmp/bar':
ensure => file,
require => File[baz],
}
</pre>
<pre>
$ puppet apply test.pp
Error: Could not find dependency File[baz] for File[/tmp/bar]
</pre>
should be:
<pre>
Error: Could not find dependency File[baz] for File[/tmp/bar] at
/home/dalen/test.pp:4
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.