Issue #18263 has been reported by Luke Bigum.
----------------------------------------
Bug #18263: improve error message when File[undef] occurs
https://projects.puppetlabs.com/issues/18263
Author: Luke Bigum
Status: Unreviewed
Priority: Normal
Assignee:
Category:
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 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.