Class/Module Index [+]

Quicksearch

Facter::Util::Architecture

A module to help test architecture facts on non-AIX test hardware

Public Class Methods

kernel_fact_value() click to toggle source

kernel_fact_value is intended to directly delegate to Facter.value(:kernel) to make it easier to stub the kernel fact without affecting the entire system.

# File lib/facter/util/architecture.rb, line 16
def self.kernel_fact_value
  Facter.value(:kernel)
end
lsattr(command="lsattr -El proc0 -a type") click to toggle source

lsattr is intended to directly delegate to Facter::Util::Resolution.exec in an effort to make the processorX facts easier to test. See also the {lsdev} method.

# File lib/facter/util/architecture.rb, line 8
def self.lsattr(command="lsattr -El proc0 -a type")
  Facter::Util::Resolution.exec(command)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.