Issue #6552 has been updated by Daniel Pittman. Subject changed from Add "deprecated" parameter aliases to types. to Add support for Ruby-level "deprecated" parameter aliases to types.
Updated the description to clarify what this applies to. ---------------------------------------- Refactor #6552: Add support for Ruby-level "deprecated" parameter aliases to types. https://projects.puppetlabs.com/issues/6552 Author: Daniel Pittman Status: Needs design decision Priority: Normal Assignee: Nigel Kersten Category: plumbing Target version: Statler Affected Puppet version: Keywords: Branch: When we need to deprecate a parameter in a ruby-level type implementation, we currently do it by hand everywhere. An example of this is the deprecation of `env` to `environment` in the `exec` type. Doing this by hand resulted, at the Ruby level, of inconsistent warnings, the failure in some places to reject both the old and new names being used, and similar minor issues; what I want to do is hoist the code that implements that up a level to get it done in one place, right. This is not a feature that will be visible at a language level, or outside the details of the Ruby level type implementation, at all. It is not related to published language features like 'alias' at all. -- 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.
