Hi,

A problem I've run into during my first attempts at writing manifests, is
knowing what possible facts are available, and for a given fact, what values my
manifest might encounter.

A classic one is the possible values of $operatingsystem, but it applies to all
sorts of facts.

Of course, I know that not all facts can be enumerated, but I had expected there
be a catalog of common facts and their values somewhere, but there seems not to
be.  The Facter page [1] and API documentation [2] give rather scanty
information about anything, yet alone list any values.  Ultimately I've been
forced to search out the source code and infer the values from that.

Then there is the question of how consistent the list of facts and their values
are from version to version of Puppet/Facter. That is even harder to discover
from the source code.

How do other people tackle this problem?

Thanks,

N

1. http://www.puppetlabs.com/puppet-3/related-projects/facter/
2. http://www.puppetlabs.com/downloads/facter/apidocs/

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to