Issue #20920 has been updated by Josh Cooper. Status changed from In Topic Branch Pending Review to Merged - Pending Release Target version set to 3.3.0
Merged into master in [9f51185](https://github.com/puppetlabs/puppet/commit/9f51185) <pre> (#20920) Include file and line number on invalid resource relationship Change the error type to ResourceError to make it include the file name and line number. </pre> ---------------------------------------- Bug #20920: Include file and line number on invalid resource relationship error https://projects.puppetlabs.com/issues/20920#change-93723 * Author: Erik Dalén * Status: Merged - Pending Release * Priority: Normal * Assignee: * Category: error reporting * Target version: 3.3.0 * Affected Puppet version: 3.0.0 * Keywords: * Branch: https://github.com/puppetlabs/puppet/pull/1669 ---------------------------------------- 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. For more options, visit https://groups.google.com/groups/opt_out.
