Issue #5036 has been updated by Aggelos Economopoulos.

File required_features.patch added

Here's my attempt at a patch for this issue.
----------------------------------------
Bug #5036: required_features not enforced for parameters
https://projects.puppetlabs.com/issues/5036

Author: Aggelos Economopoulos
Status: Investigating
Priority: Normal
Assignee: Markus Roberts
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


required_features is silently ignored for parameters. It would be nice to have 
it work just like it does for properties because:
a) it's useful :) See for example Issue #4976
b) according to the documentation, "Parameters are defined essentially exactly 
the same as properties; the only difference between them is that parameters 
never result in methods being called on providers". This phrasing could 
probably be improved anyway. In this case, I think it strongly implies that 
required_features is supported on parameters as well as properties. It was only 
after I tried it and it didn't work that I started to suspect that it might be 
otherwise.



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