Issue #12259 has been updated by Daniel Pittman.

Matt Robinson wrote:
> Currently some of the metadata for puppet module objects is converted to 
> methods, but not all.  All the metadata should be exposed through a metadata 
> method for easy access.

Wouldn't it be better to have individual methods for accessing the parts of the 
metadata - that way you avoid coupling other code on the data format, which is 
fairly invisible, rather than on the methods themselves.  The latter is much 
easier to deal with over time.

(Ideally, of course, the object wouldn't just be a bundle of data, but also the 
behaviour around the data, so that third parties didn't need to peek into the 
data at all...)
----------------------------------------
Feature #12259: Puppet module objects should expose their metadata
https://projects.puppetlabs.com/issues/12259

Author: Matt Robinson
Status: Accepted
Priority: Normal
Assignee: Matt Robinson
Category: 
Target version: 2.7.x
Affected Puppet version: 
Keywords: geordi
Branch: 


Currently some of the metadata for puppet module objects is converted to 
methods, but not all.  All the metadata should be exposed through a metadata 
method for easy access.  This is necessary for a few other pieces of 
functionality, so I want to get this done and merged sooner rather than later 
so that different branches don't implement this differently.


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