Class Facter::Util::Fact
In: lib/facter/util/fact.rb
Parent: Object

Methods

add   flush   new   value  

Constants

TIMEOUT = 5

Attributes

ldapname  [RW] 
name  [RW] 

Public Class methods

Create a new fact, with no resolution mechanisms.

Public Instance methods

Add a new resolution mechanism. This requires a block, which will then be evaluated in the context of the new mechanism.

Flush any cached values.

Return the value for a given fact. Searches through all of the mechanisms and returns either the first value or nil.

[Validate]