Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Ruby C Shell
Branch: master
Pull request Compare This branch is 30 commits ahead, 2770 commits behind puppetlabs:master.

Merge pull request #11 from haus/maint/master/fixup_spec_conditional

(maint) Fix broken conditional in rpm spec
latest commit e85cf7c6d2
@MosesMendoza MosesMendoza authored
Failed to load latest commit information.
acceptance/tests (#21533) Verify facter doesn't write to stderr
bin (#15586) Use OptionParser for help
documentation (#10079) Remove trailing whitespace
etc moving things to the trunk
ext (maint) Fix broken conditional in rpm spec
lib (#22349) Qualify WinBuiltinAdministratorsSid constant
.autotest (#6610) Fix Autotest proper run
.gemspec (maint) Make facter gemspec report correct version
.rspec (#9787) Change rspec format so we use the default, not document
.travis.yml (maint) Add Ruby 2.0.0 to Travis build matrix
.yardopts (Maint) Update to match Puppet
Gemfile (#22349) Read from user's home when non-root
LICENSE (maint) Update README with a little bit of spec info.
Rakefile (maint) Rakefile loads all the libraries it can.
install.rb (maint) Clean up install.rb dependencies


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 and cfengine keys, the number of processors, etc.

See bin/facter for an example of the interface.

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 for more details.

Something went wrong with that request. Please try again.