Looking at #2813, wherein setting the alias property of a host is also
supposed to set the alias metaparameter of the corresponding resource,
I'm having doubts about the wisdom of letting properties and
metaparameters share pants like that.  While it arguably makes sense
in the case of alias, in general this will not be true; there's no
reason to suppose that a type that declares a "schedule" property or a
"before" parameter or whatever would expect values that could be
meaningfully applied to the metaparameters of the same names.

There are a variety of alternatives:

* Rename the parameters and disallow such name collisions in general.
* Special case alias (and only alias) to work this way
* Get rid of alias the metaparameter and go to a system where
parameters can be marked as "searchable" and thus function as aliases.
* Something else

Comments?

--

You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.


Reply via email to