Issue #14570 has been updated by Jeff Weiss.

Category set to interface

After talking with Pieter and our external caching decision (#14667), we'll 
keep the existing DSL, but add on capabilities to define the types (when 
structured facts #4561 come along) though defaulting to `:string` and make some 
minor modifications to the `confine` logic so the the fact doesn't need to be 
re-defined for the a special case (e.g. do this for Solaris and that for 
HP-UX).  

Additionally, we'll likely alias `setcode` and `resolve` with the hope of 
deprecating the terribly named `setcode` later.
----------------------------------------
Feature #14570: Separate fact definition from fact resolution
https://projects.puppetlabs.com/issues/14570#change-63777

Author: Jeff Weiss
Status: Accepted
Priority: Normal
Assignee: Jeff Weiss
Category: interface
Target version: 2.1.0
Keywords: 
Branch: https://github.com/puppetlabs/facter/tree/integration/fact_definition
Affected Facter version: 


Saying what a fact is should be separate from the mechanics of how we resolve 
that fact.

The fact definition might include things like:

 - description
 - data type (string, boolean, numeric, array, hash, etc)
 - cache-able?
   - time-to-live in cache? 


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