On Wed, 2 Mar 2016, Henrik Lindberg wrote:

I would very much like to be able to type facts using the puppet type system. While this could be done in other places, a Facter config would be very useful to have server side when compiling as the compiler can then validate against such a configuration without having to do the full compilation with a full set of values.

This also opens up for the possibility to do real type inference. This is not possible when facts are in essence untyped.

This seems orthogonal to an agent-side facter config; you're talking about a Type "signature" of what the returned structure of a fact should look like, right?

Eric Sorenson - eric.soren...@puppetlabs.com - freenode #puppet: eric0
puppet platform // coffee // techno // bicycles

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/alpine.OSX.2.20.1605231304110.72822%40fermium.
For more options, visit https://groups.google.com/d/optout.

Reply via email to