Issue #2822 has been updated by Markus Roberts. Status changed from Accepted to Ready for Testing Branch set to http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2822
I have a branch up at http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2822 that adds file and line information to the "Parameter path failed: File paths must be fully qualified, not ''" message. ---------------------------------------- Bug #2822: Unhelpful error message when an undefined variable is used in a resource title http://projects.reductivelabs.com/issues/2822 Author: Alan Barrett Status: Ready for Testing Priority: Normal Assigned to: Markus Roberts Category: error reporting Target version: 0.25.2 Affected version: 0.25.1 Keywords: Branch: http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2822 When a resource is defined using an undefined variable, the error message is unhelpful. For example: <pre> class myclass { $var = "/wherever/somefile" file { $wrong_var: ensure => file, } } </pre> gives an error message like <pre> err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target '' </pre> After applying the patch from issue #2770, the error messsage is slightly improved: <pre> err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target "File[]" </pre> but there's still no indication of which line in which class in which manifest caused the problem. -- 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://reductivelabs.com/redmine/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
