File: directory_loader.rb [facter-1.7.3 Documentation]

Last Modified
  2014-01-23 06:39:29 +0000
Requires
  - facter
  - facter/util/config
  - facter/util/composite_loader
  - facter/util/parser
  - yaml

## Description

A Facter plugin that loads external facts.

Default Unix Directories: /etc/facter/facts.d", "/etc/puppetlabs/facter/facts.d"

Default Windows Direcotires: C:ProgramDataPuppetlabsfacterfacts.d (2008) C:Documents and SettingsAll UsersApplication DataPuppetlabsfacterfacts.d (2003)

Can also load from command-line specified directory

Facts can be in the form of JSON, YAML or Text files and any executable that returns key=value pairs.