Issue #2822 has been updated by James Turnbull. Category set to error reporting Status changed from Unreviewed to Accepted Assigned to set to Markus Roberts Target version set to 0.25.2
---------------------------------------- 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: Accepted Priority: Normal Assigned to: Markus Roberts Category: error reporting Target version: 0.25.2 Affected version: 0.25.1 Keywords: Branch: 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=.
