Class/Module Index [+]

Quicksearch

Facter::Processors

Public Class Methods

implementation(kernel = Facter.value(:kernel)) click to toggle source
# File lib/facter/processors/os.rb, line 12
def self.implementation(kernel = Facter.value(:kernel))
  case kernel
  when "Linux"
    Facter::Processors::Linux.new
  when "GNU/kFreeBSD"
    Facter::Processors::GNU.new
  when "Darwin"
    Facter::Processors::Darwin.new
  when "AIX"
    Facter::Processors::AIX.new
  when "HP-UX"
    Facter::Processors::HP_UX.new
  when "DragonFly", "FreeBSD"
    Facter::Processors::BSD.new
  when "OpenBSD"
    Facter::Processors::OpenBSD.new
  when "SunOS"
    Facter::Processors::SunOS.new
  when "windows"
    Facter::Processors::Windows.new
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.