Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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
libexec/ext
man/man8
spec
.autotest (#6610) Fix Autotest proper run
.gemspec (maint) Make facter gemspec report correct version
.gitignore
.mailmap
.noexec.yaml
.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
CONTRIBUTING.md (Maint) Update CONTRIBUTING.md to match Puppet
Gemfile (#22349) Read from user's home when non-root
LICENSE
README.md (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

README.md

Facter

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 http://www.puppetlabs.com/puppet/related-projects/facter for more details.

Something went wrong with that request. Please try again.