Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.16 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.16 KB

Facter

Build Status

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.

See bin/facter for an example of the interface.

Installation

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.

Running Facter

Run the facter binary on the command for a full list of facts supported on your host.

Adding your own facts

See the Adding Facts page for details of how to add your own custom facts to Facter.

Running Specs

  • bundle install --path .bundle/gems
  • bundle exec rake spec

Note: external facts in the system facts.d directory can cause spec failures.

Further Information

See http://www.puppetlabs.com/puppet/related-projects/facter for more details.