Issue #18426 has been updated by eric sorenson.

Tracker changed from Bug to Refactor
Status changed from Unreviewed to Investigating
Assignee set to Andrew Parker

Andy can you and Nick talk this over further? I don't have any basis for 
deciding whether this is hard or not; I can say that in general greater 
introspection and better docs are generally desirable.

----------------------------------------
Refactor #18426: Provider features should be data, but aren't
https://projects.puppetlabs.com/issues/18426#change-89067

* Author: Nick Fagerlund
* Status: Investigating
* Priority: Normal
* Assignee: Andrew Parker
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
Issue #18425 illustrates the problem here: when generating information about 
providers, we want to provide accurate info about features. The ability to 
introspect features from providers promises this capability, but then jerks it 
away, because features are just methods -- they can be hidden behind any amount 
of conditional logic, and there's no way to trigger it all and see what the 
real capability of a provider is. (Much less expose what's actually being 
tested before activating a feature.)

I don't know what a solution to this would look like, but being able to 
interrogate all potential features of a provider (as well as the conditions for 
activating those features) is a prerequisite for accurate docs. 


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to