Issue #5663 has been updated by Nigel Kersten.

Target version changed from 2.6.x to Statler


----------------------------------------
Bug #5663: require() function should fail gracefully when being passed resource 
references
https://projects.puppetlabs.com/issues/5663

Author: Patrick Mohr
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: Statler
Affected Puppet version: 2.6.4
Keywords: 
Branch: 


When I run the attached manifest using "puppet bug.pp" I get this error:

undefined method `downcase' for #<Puppet::Resource:0x101944b28> at 
/path_removed/bug.pp:4 on node hostname_removed

I know this syntax is wrong, but I'm assuming that puppet should be handling it 
more gracefully.

--- 
(nigel) - The require function as in #3571 should handle objects other than 
simple class names, but in the meantime we should definitely fail more 
gracefully.


-- 
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.

Reply via email to