Module | Facter |
In: |
lib/facter.rb
lib/facter/util/processor.rb lib/facter/util/monkey_patches.rb lib/facter/util/values.rb lib/facter/version.rb lib/facter/application.rb |
A util module for facter containing helper methods
GREEN | = | "[0;32m" |
RESET | = | "[0m" |
FACTERVERSION | = | '1.6.18' |
Return a fact object by name. If you use this, you still have to call ‘value’ on it to retrieve the actual value.
Add a resolution mechanism for a named fact. This does not distinguish between adding a new fact and adding a new way to resolve a fact.
Allow users to call fact names directly on the Facter class, either retrieving the value or comparing it to an existing value.