Issue #18263 has been updated by Lee Lowder. Category set to error reporting Status changed from Unreviewed to Investigating Assignee set to Lee Lowder
That error certainly needs improvement, will see if I can get a patch ready tonight. ---------------------------------------- Bug #18263: improve error message when File[undef] occurs https://projects.puppetlabs.com/issues/18263#change-82669 Author: Luke Bigum Status: Investigating Priority: Normal Assignee: Lee Lowder Category: error reporting Target version: Affected Puppet version: 3.0.1 Keywords: Branch: If you create a File resource from a variable that is not defined, the error message doesn't mention the position in the manifest nor the class name that the problematic resource occurs in. This makes it difficult to find out which File resource is broken. $ echo 'file { $foo: ensure => present }' | puppet apply Error: Failed to apply catalog: Parameter path failed on File[undef]: File paths must be fully qualified, not 'undef' -- 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.
