This package is largely meant to be a library for collecting facts about your
system. These facts are mostly strings (i.e., not numbers), and are things
like the output of
uname, public ssh keys, the number of processors, etc.
bin/facter for an example of the interface.
Generally, you need the following things installed:
- A supported Ruby version. Ruby 1.8.7, 1.9.3, and 2.0.0 (at least p195) are fully supported.
facter binary on the command for a full list of facts supported on
Adding your own facts
See the Adding Facts page for details of how to add your own custom facts to Facter.
- bundle install --path .bundle/gems
- bundle exec rake spec
Note: external facts in the system facts.d directory can cause spec failures.
See http://www.puppetlabs.com/puppet/related-projects/facter for more details.